97 void setPayload(
const uint8_t* newPayload,
size_t newPayloadLength);
Definition: PayloadLayer.h:19
void computeCalculateFields()
Definition: PayloadLayer.h:88
uint8_t * getPayload() const
Definition: PayloadLayer.h:55
PayloadLayer(uint8_t *data, size_t dataLen, Layer *prevLayer, Packet *packet)
Definition: PayloadLayer.h:27
PayloadLayer(const std::string &payloadAsHexStream)
void parseNextLayer()
Definition: PayloadLayer.h:74
size_t getHeaderLen() const
Definition: PayloadLayer.h:80
PayloadLayer(const uint8_t *data, size_t dataLen)
void setPayload(const uint8_t *newPayload, size_t newPayloadLength)
size_t getPayloadLen() const
Definition: PayloadLayer.h:64
OsiModelLayer getOsiModelLayer() const
Definition: PayloadLayer.h:101
std::string toString() const
The main namespace for the PcapPlusPlus lib.
OsiModelLayer
Definition: ProtocolType.h:354
@ OsiModelApplicationLayer
Definition: ProtocolType.h:368
const ProtocolType GenericPayload
Definition: ProtocolType.h:178