|
PcapPlusPlus
22.11
|
#include <FtpLayer.h>
Public Member Functions | |
| void | parseNextLayer () |
| FTP is the always last so does nothing for this layer. | |
| size_t | getHeaderLen () const |
| void | computeCalculateFields () |
| Does nothing for this layer. | |
| OsiModelLayer | getOsiModelLayer () const |
Public Member Functions inherited from pcpp::SingleCommandTextProtocol | |
| bool | isMultiLine () const |
Public Member Functions inherited from pcpp::Layer | |
| virtual | ~Layer () |
| Layer * | getNextLayer () const |
| Layer * | getPrevLayer () const |
| ProtocolType | getProtocol () 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 |
| virtual std::string | toString () const =0 |
Static Public Member Functions | |
| static bool | isFtpPort (uint16_t port) |
Static Public Member Functions inherited from pcpp::SingleCommandTextProtocol | |
| static bool | isDataValid (const uint8_t *data, size_t dataSize) |
Class for general FTP message
|
inlinevirtual |
Implements pcpp::Layer.
|
inlinevirtual |
Implements pcpp::Layer.
|
inlinestatic |
A static method that checks whether the port is considered as FTP
| [in] | port | The port number to be checked |