1 #ifndef PACKETPP_VLAN_LAYER     2 #define PACKETPP_VLAN_LAYER    77         uint16_t getVlanID() 
const;
    83         uint8_t getCFI() 
const;
    89         uint8_t getPriority() 
const;
    97         void setVlanID(uint16_t 
id);
   104         void setCFI(
bool cfi);
   111         void setPriority(uint8_t priority);
   118         void parseNextLayer();
   128         void computeCalculateFields();
   130         std::string toString() 
const;
 The main namespace for the PcapPlusPlus lib. 
OsiModelLayer
Definition: ProtocolType.h:263
Definition: ProtocolType.h:268
size_t getHeaderLen() const
Definition: VlanLayer.h:123
const ProtocolType VLAN
Definition: ProtocolType.h:78
vlan_header * getVlanHeader() const
Definition: VlanLayer.h:69
VlanLayer(uint8_t *data, size_t dataLen, Layer *prevLayer, Packet *packet)
Definition: VlanLayer.h:52
OsiModelLayer getOsiModelLayer() const
Definition: VlanLayer.h:132
Definition: VlanLayer.h:43