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);
The main namespace for the PcapPlusPlus lib.
OsiModelLayer
Definition: ProtocolType.h:253
void setPayload(const uint8_t *newPayload, size_t newPayloadLength)
void parseNextLayer()
Definition: PayloadLayer.h:67
size_t getHeaderLen() const
Definition: PayloadLayer.h:72
const ProtocolType GenericPayload
Definition: ProtocolType.h:173
Definition: ProtocolType.h:268
PayloadLayer(uint8_t *data, size_t dataLen, Layer *prevLayer, Packet *packet)
Definition: PayloadLayer.h:28
Definition: PayloadLayer.h:19
std::string toString() const
uint8_t * getPayload() const
Definition: PayloadLayer.h:54
size_t getPayloadLen() const
Definition: PayloadLayer.h:60
void computeCalculateFields()
Definition: PayloadLayer.h:77
OsiModelLayer getOsiModelLayer() const
Definition: PayloadLayer.h:88