Module Mirage_net

Network devices

Mirage_net defines the signature for MirageOS network devices.

Release v4.0.0

module Net : sig ... end
type stats = {
mutable rx_bytes : int64;
mutable rx_pkts : int32;
mutable tx_bytes : int64;
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