PcapPlusPlus
Next
|
#include <FtpLayer.h>
Public Member Functions | |
FtpDataLayer (uint8_t *data, size_t dataLen, Layer *prevLayer, Packet *packet) | |
std::string | toString () const override |
Public Member Functions inherited from pcpp::PayloadLayer | |
PayloadLayer (uint8_t *data, size_t dataLen, Layer *prevLayer, Packet *packet) | |
PayloadLayer (const uint8_t *data, size_t dataLen) | |
PayloadLayer (const std::string &payloadAsHexStream) | |
uint8_t * | getPayload () const |
size_t | getPayloadLen () const |
void | parseNextLayer () override |
size_t | getHeaderLen () const override |
void | computeCalculateFields () override |
void | setPayload (const uint8_t *newPayload, size_t newPayloadLength) |
std::string | toString () const override |
OsiModelLayer | getOsiModelLayer () const override |
Public Member Functions inherited from pcpp::Layer | |
~Layer () override | |
Layer * | getNextLayer () const |
Layer * | getPrevLayer () const |
ProtocolType | getProtocol () const |
bool | isMemberOfProtocolFamily (ProtocolTypeFamily protocolTypeFamily) const |
uint8_t * | getData () const |
size_t | getDataLen () const |
uint8_t * | getLayerPayload () const |
size_t | getLayerPayloadSize () const |
bool | isAllocatedToPacket () const |
void | copyData (uint8_t *toArr) const |
uint8_t * | getDataPtr (size_t offset=0) const override |
Class for representing the data of FTP Layer
|
inline |
A constructor that creates the layer from an existing packet raw data
[in] | data | A pointer to the raw data |
[in] | dataLen | Size of the data in bytes |
[in] | prevLayer | A pointer to the previous layer |
[in] | packet | A pointer to the Packet instance where layer will be stored in |
|
overridevirtual |
Implements pcpp::Layer.