include Mirage_net
module Net = Mirage_net.Nettype stats = Mirage_net.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 ... endA network interface that serves Ethernet frames.
module Stats = Mirage_net.Stats