Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
type 'a io = 'a Lwt.t
type buffer = Cstruct.t
type macaddr = Macaddr.t
val register : t -> [ `Ok of id | `Error of Mirage_net.error ]
Unregister the listener, then block until all callbacks return for this * id. Useful when listeners are called in async.
val write : t -> id -> buffer -> (unit, Mirage_net.error) Result.result io
val writev :
t ->
id ->
buffer list ->
(unit, Mirage_net.error) Result.result io