1 #ifndef PCAPPLUSPLUS_COTPLAYER_H 2 #define PCAPPLUSPLUS_COTPLAYER_H 41 :
Layer(data, dataLen, prevLayer, packet)
108 static bool isDataValid(
const uint8_t *data,
size_t dataSize);
110 std::string
toString()
const override;
120 #endif // PCAPPLUSPLUS_COTPLAYER_H The main namespace for the PcapPlusPlus lib.
OsiModelLayer
Definition: ProtocolType.h:333
size_t getHeaderLen() const override
Definition: CotpLayer.h:72
const ProtocolType COTP
Definition: ProtocolType.h:323
uint8_t getTpduNumber() const
std::string toString() const override
Definition: CotpLayer.h:15
void setLength(uint8_t length) const
OsiModelLayer getOsiModelLayer() const override
Definition: CotpLayer.h:112
uint8_t getLength() const
uint8_t pduType
Definition: CotpLayer.h:20
Definition: ProtocolType.h:342
static bool isDataValid(const uint8_t *data, size_t dataSize)
CotpLayer(uint8_t *data, size_t dataLen, Layer *prevLayer, Packet *packet)
Definition: CotpLayer.h:40
void setPduType(uint8_t pduType) const
void parseNextLayer() override
uint8_t getPduType() const
void computeCalculateFields() override
Definition: CotpLayer.h:95
uint8_t tpduNumber
Definition: CotpLayer.h:22
Definition: CotpLayer.h:30
uint8_t length
Definition: CotpLayer.h:18
void setTpduNumber(uint8_t tpduNumber) const