Expand description
Core types and traits used for defining packet dissectors.
Modules§
- types
- Provides type aliases for various primitive integer types
Structs§
- MacAddr
- A MAC address.
Enums§
- MutPacket
Data - Mutable packet data.
- Packet
Data - Packet data.
Constants§
- ETHER_
ADDR_ LEN - The number of bytes in an ethernet (MAC) address.
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.