Expand description

Uniform interface to send/recv UDP packets with ECN information.

Modules

Structs

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.

An outgoing packet

Tokio-compatible UDP socket with some useful specializations.

The capabilities a UDP socket suppports on a certain platform

Enums

Explicit congestion notification codepoint

Select how to set the source IP - using either interface id or the IP itself

Constants

Number of UDP packets to send/receive at a time

Traits

A buffer that can be turned into a raw ptr and has a len. Is used to be generic over Vec, u8, Bytes, BytesMut