Skip to main content

Crate sniffnet_packet_parser

Crate sniffnet_packet_parser 

Source
Expand description

§sniffnet-packet-parser

Network packet parser for Sniffnet.

Powered by etherparse.

§Supported protocols

  • TCP
  • UDP
  • ICMPv4
  • ICMPv6
  • IGMP
  • ARP
  • ETHERNET
  • NULL
  • LOOP
  • IPV4
  • IPV6
  • RAW
  • LINUX_SLL
  • LINUX_SLL2

Structs§

LinkInfo
Info extracted from the data link layer header.
NetInfo
Info extracted from the network layer header.
ParsedPacket
Parsed network packet with info extracted from its headers.
TransportInfo
Info extracted from the transport layer header.

Enums§

ArpType
The ARP message type.
IcmpType
The ICMP message type.
IcmpTypeV4
The ICMPv4 message type.
IcmpTypeV6
The ICMPv6 message type.
IgmpType
The IGMP message type.
LinkType
Link types this crate can parse.
Protocol
The protocol of the network packet.