Skip to main content

Module packet

Module packet 

Source
Expand description

Packet parsing for L2–L4 header inspection.

Uses etherparse for all protocol parsing: Ethernet II, ARP, IPv4, IPv6, TCP, UDP, ICMPv4, ICMPv6 (including NDP).

Structs§

ParsedFrame
A parsed ethernet frame with convenient accessors for policy matching.

Enums§

IpProtocol
IP protocol number for policy matching.

Constants§

DNS_PORT
DNS port.