Expand description
Uniform interface to send/recv UDP packets with ECN information.
Modules§
Structs§
- Recv
Meta - Metadata about received packet. Includes which address we recv’d from, how many bytes, ecn codepoints, what the destination IP used was and what interface index was used.
- Transmit
- An outgoing packet
- UdpSocket
- Tokio-compatible UDP socket with some useful specializations.
- UdpState
- The capabilities a UDP socket suppports on a certain platform
Enums§
- EcnCodepoint
- Explicit congestion notification codepoint
- Source
- Select how to set the source IP - using either interface id or the IP itself
Constants§
- BATCH_
SIZE - Number of UDP packets to send/receive at a time