PcapPlusPlus  Next
pcpp::vlan_header Struct Reference

#include <VlanLayer.h>

Public Attributes

uint16_t vlan
 
uint16_t etherType
 Ethernet type for next layer.
 

Detailed Description

Represents a VLAN header

Member Data Documentation

◆ vlan

uint16_t pcpp::vlan_header::vlan
0 1 2
0 1 2 3 4 5 6 7 0 1 2 3 4 5 6 7 0
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|Prio |C| VLAN ID |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+