package mirage-net-xen

  1. Overview
  2. Docs
include sig ... end
val pp_error : error Fmt.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.