Crate netstack3_udp

Source
Expand description

Netstack3 core UDP.

This crate contains the UDP implementation for netstack3.

Structs§

BoundSockets
UDP bound sockets, i.e., the UDP demux.
CombinedUdpCounters
A composition of the UDP counters with and without a socket.
Sockets
A collection of UDP sockets.
UdpApi
The UDP socket API.
UdpPacketMeta
Auxiliary information about an incoming UDP packet.
UdpSocketId
A UDP socket.
UdpState
The state associated with the UDP protocol.

Enums§

SendError
Error when sending a packet on a socket.
SendToError
An error encountered while sending a UDP packet to an alternate address.
UdpIpTransportContext
An implementation of IpTransportContext for UDP.
UdpRemotePort
The remote port for a UDP socket.

Traits§

BoundStateContext
An execution context for the UDP protocol which also provides access to state.
DualStackBoundStateContext
An execution context for UDP dual-stack operations.
NonDualStackBoundStateContext
An execution context for UDP non-dual-stack operations.
StateContext
Core context abstracting state access to UDP state.
UdpBindingsContext
The bindings context for UDP.
UdpBindingsTypes
The bindings context providing external types to UDP sockets.
UdpCounterContext
A marker trait to simplify bounds for UDP counters.
UdpReceiveBindingsContext
The bindings context handling received UDP frames.
UdpStateContext
Empty trait to work around coherence issues.
UseUdpIpTransportContextBlanket
Enables a blanket implementation of IpTransportContext for UdpIpTransportContext.

Type Aliases§

UdpCountersWithSocket
Counters for UDP events that can be attributed to an individual socket.
UdpCountersWithoutSocket
Counters for UDP events that cannot be attributed to an individual socket.
UdpSocketSet
A set containing all UDP sockets.
UdpSocketState
A UDP socket’s state.
UdpSocketTxMetadata
Tx metadata sent by UDP sockets.