package mirage-net-xen

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
include sig ... end
type error = [>
  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) result Lwt.t
val listen : t -> header_size:int -> (Cstruct.t -> unit Lwt.t) -> (unit, error) 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 : string -> t Lwt.t
OCaml

Innovation. Community. Security.