|
PcapPlusPlus
24.09
|
#include <FtpLayer.h>
Public Member Functions | |
| FtpDataLayer (uint8_t *data, size_t dataLen, Layer *prevLayer, Packet *packet) | |
| std::string | toString () const |
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 () |
| size_t | getHeaderLen () const |
| void | computeCalculateFields () |
| void | setPayload (const uint8_t *newPayload, size_t newPayloadLength) |
| std::string | toString () const |
| OsiModelLayer | getOsiModelLayer () const |
Public Member Functions inherited from pcpp::Layer | |
| virtual | ~Layer () |
| 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 |
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 |
|
virtual |
Implements pcpp::Layer.