Expand description
Serialization and deserialization of wire formats.
This module provides efficient serialization and deserialization of the various wire formats used by this program. Where possible, it uses lifetimes and immutability to allow for safe zero-copy parsing.
§Endianness
All values exposed or consumed by this crate are in host byte order, so the caller does not need to worry about it. Any necessary conversions are performed under the hood.
Modules§
- Parsing and serialization of ARP packets.
- Custom error types for the packet formats.
- Parsing and serialization of Ethernet frames.
- Parsing and serialization of Internet Control Message Protocol (ICMP) packets.
- Parsing and serialization of Internet Group Management Protocol (IGMP) packets.
- IP protocol types.
- Parsing and serialization of IPv4 packets.
- Parsing and serialization of IPv6 packets.
- Parsing and serialization of TCP segments.
- Data for testing parsing and serialization.
- Testing-related utilities.
- Parsing and serialization of UDP packets.
- Utilities useful when parsing and serializing wire formats.