Crate pdu[−][src]
Expand description
Small, fast, and correct L2/L3/L4 packet parser
Modules
EtherType | Provides constants representing various EtherTypes supported by this crate |
IpProto | Provides constants representing various IP protocol numbers supported by this crate |
TcpFlag | Provides constants representing the set of TCP bitflags |
Structs
ArpPdu | Represents an ARP payload |
EthernetPdu | Represents an Ethernet header and payload |
GrePdu | Represents a GRE header and payload |
IcmpPdu | Represents an ICMP payload |
Ipv4Pdu | Represents an IPv4 header and payload |
Ipv6Pdu | Represents an IPv6 header and payload |
TcpPdu | Represents a TCP header and payload |
UdpPdu | Represents a UDP header and payload |
Enums
Error | Defines the set of possible errors returned by packet parsers in this crate |
Ethernet | Contains the inner payload of an |
Gre | Contains the inner payload of a |
Icmp | Contains the inner payload of an |
Ip | Contains either an |
Ipv4 | Contains the inner payload of an |
Ipv4Option | Represents an IPv4 option |
Ipv6 | Contains the inner payload of an |
Ipv6ExtensionHeader | Represents an IPv6 extension header |
Tcp | Contains the inner payload of a |
TcpOption | Represents a TCP option |
Udp | Contains the inner payload of a |
Type Definitions
Result | Defines the return type used by packet parsers in this crate |