|
PcapPlusPlus
20.08
|
Go to the documentation of this file. 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);
145 #endif // PACKETPP_VXLAN_LAYER
OsiModelLayer
Definition: ProtocolType.h:233
@ OsiModelDataLinkLayer
Definition: ProtocolType.h:238
OsiModelLayer getOsiModelLayer() const
Definition: VxlanLayer.h:139
vxlan_header * getVxlanHeader() const
Definition: VxlanLayer.h:100
Definition: VxlanLayer.h:73
VxlanLayer(uint8_t *data, size_t dataLen, Layer *prevLayer, Packet *packet)
Definition: VxlanLayer.h:82
void computeCalculateFields()
Definition: VxlanLayer.h:135
size_t getHeaderLen() const
Definition: VxlanLayer.h:130
void setVNI(uint32_t vni)
The main namespace for the PcapPlusPlus lib.
const ProtocolType VXLAN
Definition: ProtocolType.h:178
static bool isVxlanPort(uint16_t port)
Definition: VxlanLayer.h:117
std::string toString() const