package mirage-types
UDPv4 stack
A UDPv4 stack that can send and receive datagrams.
type buffer = Cstruct.t
Abstract type for a memory buffer that may not be page aligned.
An input function continuation to pass onto the underlying ipv4
stack. This will normally be a NOOP for a conventional kernel, but a direct implementation will parse the buffer.
Callback function that adds the UDPv4 metadata for src
and dst
IPv4 addresses, the src_port
of the connection and the buffer
payload of the datagram.
input listeners t
demultiplexes incoming datagrams based on their destination port. The listeners
callback is will either return a concrete handler or a None
, which results in the datagram being dropped.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>