40 :
Layer(data, dataLen, prevLayer, packet,
COTP)
121 return reinterpret_cast<cotphdr*
>(m_Data);
Definition: CotpLayer.h:30
uint8_t getTpduNumber() const
CotpLayer(uint8_t tpduNumber)
size_t getHeaderLen() const override
Definition: CotpLayer.h:69
uint8_t getPduType() const
OsiModelLayer getOsiModelLayer() const override
Definition: CotpLayer.h:113
uint8_t getLength() const
void setPduType(uint8_t pduType) const
CotpLayer(uint8_t *data, size_t dataLen, Layer *prevLayer, Packet *packet)
Definition: CotpLayer.h:39
std::string toString() const override
void setLength(uint8_t length) const
void setTpduNumber(uint8_t tpduNumber) const
void parseNextLayer() override
static bool isDataValid(const uint8_t *data, size_t dataSize)
void computeCalculateFields() override
Definition: CotpLayer.h:95
The main namespace for the PcapPlusPlus lib.
const ProtocolType COTP
Definition: ProtocolType.h:328
OsiModelLayer
Definition: ProtocolType.h:364
@ OsiModelTransportLayer
Definition: ProtocolType.h:372
Definition: CotpLayer.h:15
uint8_t tpduNumber
Definition: CotpLayer.h:21
uint8_t length
Definition: CotpLayer.h:17
uint8_t pduType
Definition: CotpLayer.h:19