Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
Implementation of the network interface using raw sockets.
include Mirage_net_lwt.S
val pp_error : error Fmt.t
type page_aligned_buffer = Io_page.t
val get_stats_counters : t -> Mirage_net.stats
val reset_stats_counters : t -> unit
val connect : ?mac:Macaddr.t -> Unix.file_descr -> t Lwt.t
connect ?mac fd
connects to the given file descriptor. The caller is responsible to open a raw socket and set-up the file descriptor properly. If mac
is not specified, generate a random one.