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.S
type error = private [>
  1. | Mirage_net.Net.error
]
val pp_error : error Fmt.t
type t
val disconnect : t -> unit Lwt.t
val write : t -> size:int -> (Cstruct.t -> int) -> (unit, error) Stdlib.result Lwt.t
val listen : t -> header_size:int -> (Cstruct.t -> unit Lwt.t) -> (unit, error) Stdlib.result Lwt.t
val mac : t -> Macaddr.t
val mtu : t -> int
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.