|
PcapPlusPlus
20.08
|
Go to the documentation of this file. 1 #ifndef PACKETPP_PAYLOAD_LAYER
2 #define PACKETPP_PAYLOAD_LAYER
37 PayloadLayer(
const uint8_t* data,
size_t dataLen,
bool dummy);
84 void setPayload(
const uint8_t* newPayload,
size_t newPayloadLength);
OsiModelLayer
Definition: ProtocolType.h:233
Definition: PayloadLayer.h:19
@ OsiModelApplicationLayer
Definition: ProtocolType.h:248
OsiModelLayer getOsiModelLayer() const
Definition: PayloadLayer.h:88
const ProtocolType GenericPayload
Definition: ProtocolType.h:173
void setPayload(const uint8_t *newPayload, size_t newPayloadLength)
size_t getHeaderLen() const
Definition: PayloadLayer.h:72
void computeCalculateFields()
Definition: PayloadLayer.h:77
size_t getPayloadLen() const
Definition: PayloadLayer.h:60
The main namespace for the PcapPlusPlus lib.
PayloadLayer(uint8_t *data, size_t dataLen, Layer *prevLayer, Packet *packet)
Definition: PayloadLayer.h:28
void parseNextLayer()
Definition: PayloadLayer.h:67
std::string toString() const
uint8_t * getPayload() const
Definition: PayloadLayer.h:54