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 v1.1.1

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 = {
  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.