Expand description
§sniffnet-packet-parser
Network packet parser for Sniffnet.
Powered by etherparse.
§Supported protocols
TCPUDPICMPv4ICMPv6ARP
§Supported link types
ETHERNETNULLLOOPIPV4IPV6RAWLINUX_SLLLINUX_SLL2
Structs§
- Link
Info - Info extracted from the data link layer header.
- NetInfo
- Info extracted from the network layer header.
- Parsed
Packet - Parsed network packet with info extracted from its headers.
- Transport
Info - Info extracted from the transport layer header.
Enums§
- ArpType
- The ARP message type.
- Icmp
Type - The ICMP message type.
- Icmp
Type V4 - The
ICMPv4message type. - Icmp
Type V6 - The
ICMPv6message type. - Link
Type - Link types this crate can parse.
- Protocol
- The protocol of the network packet.