Expand description
Low-level packet parsing and serialization primitives for common network protocols.
Packet APIs distinguish borrowed views, mutable borrowed views, owned
decoded packets, and validated builders. See docs/PACKET_MODEL.md in the
repository for ownership, allocation, and mutable-layout semantics.
Re-exports§
pub use builder::BuildError;
Modules§
- arp
- ARP packet abstraction.
- builder
- checksum
- Utilities for tracking checksum recalculation state.
- dhcp
- dns
- ethernet
- An ethernet packet abstraction.
- flowcontrol
- Ethernet Flow Control [IEEE 802.3x] abstraction.
- frame
- gre
- GRE Packet abstraction.
- icmp
- An ICMP packet abstraction.
- icmpv6
- An ICMPv6 packet abstraction.
- ip
- ipv4
- An IPv4 packet abstraction.
- ipv6
- packet
- parse
- Shared contracts for diagnosable packet parsing APIs.
- quic
- QUIC wire packets (RFC 8999, RFC 9000, and RFC 9369).
- tcp
- A TCP packet abstraction.
- udp
- A UDP packet abstraction.
- util
- Utilities for working with packets, eg. checksumming.
- vlan
- A VLAN (802.1Q) packet abstraction.
- vxlan
- A VXLAN packet abstraction.