|
PcapPlusPlus
19.12
|
Go to the documentation of this file. 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);
vlan_header * getVlanHeader() const
Definition: VlanLayer.h:71
OsiModelLayer
Definition: ProtocolType.h:224
Definition: ProtocolType.h:76
Definition: ProtocolType.h:229
Definition: VlanLayer.h:45
void computeCalculateFields()
Definition: VlanLayer.h:130
void setPriority(uint8_t priority)
uint8_t getPriority() const
size_t getHeaderLen() const
Definition: VlanLayer.h:125
void setVlanID(uint16_t id)
uint16_t getVlanID() const
std::string toString() const
The main namespace for the PcapPlusPlus lib.
OsiModelLayer getOsiModelLayer() const
Definition: VlanLayer.h:134
VlanLayer(uint8_t *data, size_t dataLen, Layer *prevLayer, Packet *packet)
Definition: VlanLayer.h:54