Expand description
Netstack3 core UDP.
This crate contains the UDP implementation for netstack3.
Structs§
- Bound
Sockets - UDP bound sockets, i.e., the UDP demux.
- Combined
UdpCounters - A composition of the UDP counters with and without a socket.
- Sockets
- A collection of UDP sockets.
- UdpApi
- The UDP socket API.
- UdpPacket
Meta - Auxiliary information about an incoming UDP packet.
- UdpSocket
Id - A UDP socket.
- UdpState
- The state associated with the UDP protocol.
Enums§
- Send
Error - Error when sending a packet on a socket.
- Send
ToError - An error encountered while sending a UDP packet to an alternate address.
- UdpIp
Transport Context - An implementation of
IpTransportContext
for UDP. - UdpRemote
Port - The remote port for a UDP socket.
Traits§
- Bound
State Context - An execution context for the UDP protocol which also provides access to state.
- Dual
Stack Bound State Context - An execution context for UDP dual-stack operations.
- NonDual
Stack Bound State Context - An execution context for UDP non-dual-stack operations.
- State
Context - Core context abstracting state access to UDP state.
- UdpBindings
Context - The bindings context for UDP.
- UdpBindings
Types - The bindings context providing external types to UDP sockets.
- UdpCounter
Context - A marker trait to simplify bounds for UDP counters.
- UdpReceive
Bindings Context - The bindings context handling received UDP frames.
- UdpState
Context - Empty trait to work around coherence issues.
- UseUdp
IpTransport Context Blanket - Enables a blanket implementation of
IpTransportContext
forUdpIpTransportContext
.
Type Aliases§
- UdpCounters
With Socket - Counters for UDP events that can be attributed to an individual socket.
- UdpCounters
Without Socket - Counters for UDP events that cannot be attributed to an individual socket.
- UdpSocket
Set - A set containing all UDP sockets.
- UdpSocket
State - A UDP socket’s state.
- UdpSocket
TxMetadata - Tx metadata sent by UDP sockets.