[][src]Module pktparse::ethernet

Handles parsing of Ethernet headers

Structs

EthernetFrame
MacAddress
VlanEthernetFrame

Enums

EtherType

Functions

parse_ethernet_frame
parse_vlan_ethernet_frame

Similar to parse_ethernet_frame but returns a VlanEthernetFrame on success. This uses more CPU cycles but handles both tagged and untagged ethernet traffic.