1 #ifndef PACKETPP_VXLAN_LAYER 2 #define PACKETPP_VXLAN_LAYER 18 #if(BYTE_ORDER == LITTLE_ENDIAN) 92 VxlanLayer(uint32_t vni = 0, uint16_t groupPolicyID = 0,
bool setGbpFlag =
false,
bool setPolicyAppliedFlag =
false,
bool setDontLearnFlag =
false);
111 void setVNI(uint32_t vni);
139 #endif // PACKETPP_VXLAN_LAYER uint16_t reserved14_16
Definition: VxlanLayer.h:28
Definition: ProtocolType.h:176
uint16_t reserved2_4
Definition: VxlanLayer.h:24
Definition: VxlanLayer.h:16
uint16_t reserved9
Definition: VxlanLayer.h:36
The main namespace for the PcapPlusPlus lib.
vxlan_header * getVxlanHeader()
Definition: VxlanLayer.h:100
Definition: ProtocolType.h:213
uint32_t pad
Definition: VxlanLayer.h:64
OsiModelLayer
Definition: ProtocolType.h:208
OsiModelLayer getOsiModelLayer()
Definition: VxlanLayer.h:133
uint16_t reserved6_8
Definition: VxlanLayer.h:20
void setVNI(uint32_t vni)
uint16_t reserved11_12
Definition: VxlanLayer.h:32
VxlanLayer(uint8_t *data, size_t dataLen, Layer *prevLayer, Packet *packet)
Definition: VxlanLayer.h:82
uint16_t policyAppliedFlag
Definition: VxlanLayer.h:30
size_t getHeaderLen()
Definition: VxlanLayer.h:124
uint16_t groupPolicyID
Definition: VxlanLayer.h:59
uint16_t gbpFlag
Definition: VxlanLayer.h:26
uint32_t vni
Definition: VxlanLayer.h:62
uint16_t dontLearnFlag
Definition: VxlanLayer.h:34
Definition: VxlanLayer.h:73
void computeCalculateFields()
Definition: VxlanLayer.h:129
uint16_t vniPresentFlag
Definition: VxlanLayer.h:22