Function pktparse::ethernet::parse_vlan_ethernet_frame [−][src]
pub fn parse_vlan_ethernet_frame(i: &[u8]) -> IResult<&[u8], VlanEthernetFrame>
Expand description
Similar to parse_ethernet_frame
but returns a VlanEthernetFrame
on success. This uses more
CPU cycles but handles both tagged and untagged ethernet traffic.