Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
type buffer = Cstruct.t
type macaddr = Macaddr.t
val register : t -> (id, Mirage_net.Net.error) Stdlib.result
Unregister the listener, then block until all callbacks return for this * id. Useful when listeners are called in async.
val write :
t ->
id ->
size:int ->
(buffer -> int) ->
(unit, Mirage_net.Net.error) Stdlib.result io