package mirage-vnetif

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

Dummy interface for software bridge.

Parameters

module B : BACKEND

Signature

include Mirage_net_lwt.S
type error = private [>
  1. | Mirage_device.error
]
val pp_error : error Fmt.t
type page_aligned_buffer = Io_page.t
type buffer = Cstruct.t
type macaddr = Macaddr.t
type 'a io = 'a Lwt.t
type t
val disconnect : t -> unit io
val write : t -> buffer -> (unit, error) Pervasives.result io
val writev : t -> buffer list -> (unit, error) Pervasives.result io
val listen : t -> (buffer -> unit io) -> (unit, error) Pervasives.result io
val mac : t -> macaddr
val get_stats_counters : t -> Mirage_net.stats
val reset_stats_counters : t -> unit
val connect : ?size_limit:int -> B.t -> t Lwt.t
OCaml

Innovation. Community. Security.