1 #ifndef PACKETPP_VLAN_LAYER 2 #define PACKETPP_VLAN_LAYER 6 #if defined(WIN32) || defined(WINx64) 63 VlanLayer(
const uint16_t vlanID,
bool cfi, uint8_t priority, uint16_t etherType);
size_t getHeaderLen()
Definition: VlanLayer.h:125
Definition: ProtocolType.h:218
void setVlanID(uint16_t id)
vlan_header * getVlanHeader()
Definition: VlanLayer.h:71
VlanLayer(uint8_t *data, size_t dataLen, Layer *prevLayer, Packet *packet)
Definition: VlanLayer.h:54
uint16_t vlan
Definition: VlanLayer.h:34
void setPriority(uint8_t priority)
void computeCalculateFields()
Definition: VlanLayer.h:130
OsiModelLayer
Definition: ProtocolType.h:213
Definition: VlanLayer.h:45
Definition: ProtocolType.h:76
Definition: VlanLayer.h:24
uint16_t etherType
Definition: VlanLayer.h:36
The main namespace for the PcapPlusPlus lib.
OsiModelLayer getOsiModelLayer()
Definition: VlanLayer.h:134