17 #if (BYTE_ORDER == LITTLE_ENDIAN)
81 :
Layer(data, dataLen, prevLayer, packet,
VXLAN)
93 explicit VxlanLayer(uint32_t vni = 0, uint16_t groupPolicyID = 0,
bool setGbpFlag =
false,
94 bool setPolicyAppliedFlag =
false,
bool setDontLearnFlag =
false);
Definition: VxlanLayer.h:72
void computeCalculateFields() override
Definition: VxlanLayer.h:146
std::string toString() const override
vxlan_header * getVxlanHeader() const
Definition: VxlanLayer.h:103
void parseNextLayer() override
OsiModelLayer getOsiModelLayer() const override
Definition: VxlanLayer.h:151
VxlanLayer(uint32_t vni=0, uint16_t groupPolicyID=0, bool setGbpFlag=false, bool setPolicyAppliedFlag=false, bool setDontLearnFlag=false)
static bool isVxlanPort(uint16_t port)
Definition: VxlanLayer.h:123
size_t getHeaderLen() const override
Definition: VxlanLayer.h:138
void setVNI(uint32_t vni)
VxlanLayer(uint8_t *data, size_t dataLen, Layer *prevLayer, Packet *packet)
Definition: VxlanLayer.h:80
The main namespace for the PcapPlusPlus lib.
OsiModelLayer
Definition: ProtocolType.h:364
@ OsiModelDataLinkLayer
Definition: ProtocolType.h:368
const ProtocolType VXLAN
Definition: ProtocolType.h:183