mirage-net

MirageOS TCP/IP networking library
back to documentation root
Legend:
Library
Module
Module type
Parameter
Class
Class type
Library mirage-net
Module Mirage_net
type error = Mirage_device.error

The type for IO operation errors

val pp_error : error Fmt.t

pp_error pretty-print network errors.

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