Expand description
Parsing and serialization of UDP packets.
The UDP packet format is defined in RFC 768.
Structs§
- UdpEnvelope
- UDP packet context relevant to serialization.
- UdpPacket
- A UDP packet.
- UdpPacket
Builder - A builder for UDP packets.
- UdpPacket
Raw - A partially-parsed and not yet validated UDP packet.
- UdpParse
Args - Arguments required to parse a UDP packet.
Constants§
- CHECKSUM_
OFFSET - The offset of the checksum field, in bytes, from the start of a UDP header.
- HEADER_
BYTES - The size of a UDP header in bytes.
Traits§
- UdpParse
Context - Context for parsing UDP packets that may be subject to hardware checksum offloading.
- UdpSerialization
Context - A trait for UDP serialization contexts.