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()
Definition: VxlanLayer.h:147
size_t getHeaderLen() const
Definition: VxlanLayer.h:139
vxlan_header * getVxlanHeader() const
Definition: VxlanLayer.h:104
std::string toString() const
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:124
void setVNI(uint32_t vni)
VxlanLayer(uint8_t *data, size_t dataLen, Layer *prevLayer, Packet *packet)
Definition: VxlanLayer.h:80
OsiModelLayer getOsiModelLayer() const
Definition: VxlanLayer.h:152
The main namespace for the PcapPlusPlus lib.
OsiModelLayer
Definition: ProtocolType.h:354
@ OsiModelDataLinkLayer
Definition: ProtocolType.h:358
const ProtocolType VXLAN
Definition: ProtocolType.h:183