package mirage-net
Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
type config = [
| `DHCP
| `IPv4 of Nettypes.ipv4_addr * Nettypes.ipv4_addr * Nettypes.ipv4_addr list
]
val get_udpv4 : t -> Lwt_unix.file_descr
val register_udpv4_listener :
t ->
(Nettypes.ipv4_addr option * int) ->
Lwt_unix.file_descr ->
unit
val get_udpv4_listener :
t ->
(Nettypes.ipv4_addr option * int) ->
Lwt_unix.file_descr Lwt.t
val get_intf : interface -> string
val set_promiscuous : t -> id -> (id -> Cstruct.buf -> unit Lwt.t) -> unit
val inject_packet : t -> id -> Cstruct.buf -> unit Lwt.t
val get_intf_mac : t -> id -> Nettypes.ethernet_mac
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>