Expand description
Support for packet parsing and manipulation. Enables users to work with packets at a granular level.
Modules§
- arp
- ARP packet abstraction.
- dhcp
- ethernet
- An ethernet packet abstraction.
- frame
- gre
- GRE Packet abstraction.
- icmp
- An ICMP packet abstraction.
- icmpv6
- An ICMPv6 packet abstraction.
- ip
- ipv4
- An IPv4 packet abstraction.
- ipv6
- An IPv6 packet abstraction.
- sll
- A Linux cooked-mode capture (LINKTYPE_LINUX_SLL) packet abstraction.
- sll2
- A Linux cooked-mode capture v2 (LINKTYPE_LINUX_SLL2) packet abstraction.
- tcp
- A TCP packet abstraction.
- udp
- A UDP packet abstraction.
- usbpcap
- A USB PCAP packet abstraction.
- util
- Utilities for working with packets, eg. checksumming.
- vlan
- A VLAN packet abstraction.
Enums§
- MutPacket
Data - Mutable packet data.
- Packet
Data - Packet data.
Traits§
- From
Packet - Used to convert on-the-wire packets to their #[packet] equivalent.
- Mutable
Packet - Represents a generic, mutable, network packet.
- Packet
- Represents a generic network packet.
- Packet
Size - Used to find the calculated size of the packet. This is used for occasions where the underlying buffer is not the same length as the packet itself.
- Primitive
Values - Used to convert a type to primitive values representing it.