package mirage-net

  1. Overview
  2. Docs
On This Page
  1. Networking
Legend:
Library
Module
Module type
Parameter
Class
Class type

Network devices

Mirage_net defines the signature for MirageOS network devices.

Release v4.0.0

module Net : sig ... end
type stats = {
  1. mutable rx_bytes : int64;
  2. mutable rx_pkts : int32;
  3. mutable tx_bytes : int64;
  4. mutable tx_pkts : int32;
}

The type for frame statistics to track the usage of the device.

Networking

module type S = sig ... end

A network interface that serves Ethernet frames.

module Stats : sig ... end
OCaml

Innovation. Community. Security.