Crate dndx_forked_unix_udp_sock

Source
Expand description

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

Modules§

framed
sync

Structs§

RecvMeta
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

Traits§

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