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);
105 uint32_t getVNI()
const;
111 void setVNI(uint32_t
vni);
125 void parseNextLayer();
137 std::string toString()
const;
145 #endif // PACKETPP_VXLAN_LAYER The main namespace for the PcapPlusPlus lib.
OsiModelLayer
Definition: ProtocolType.h:298
vxlan_header * getVxlanHeader() const
Definition: VxlanLayer.h:100
Definition: ProtocolType.h:303
size_t getHeaderLen() const
Definition: VxlanLayer.h:130
void computeCalculateFields()
Definition: VxlanLayer.h:135
VxlanLayer(uint8_t *data, size_t dataLen, Layer *prevLayer, Packet *packet)
Definition: VxlanLayer.h:82
const ProtocolType VXLAN
Definition: ProtocolType.h:178
Definition: VxlanLayer.h:73
static bool isVxlanPort(uint16_t port)
Definition: VxlanLayer.h:117
OsiModelLayer getOsiModelLayer() const
Definition: VxlanLayer.h:139