Crate libpacket_core[−][src]
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
MutPacketData | Mutable packet data. |
PacketData | Packet data. |
Constants
ETHER_ADDR_LEN | The number of bytes in an ethernet (MAC) address. |
Traits
FromPacket | Used to convert on-the-wire packets to their #[packet] equivalent. |
MutablePacket | Represents a generic, mutable, network packet. |
Packet | Represents a generic network packet. |
PacketSize | 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. |
PrimitiveValues | Used to convert a type to primitive values representing it. |