|
PcapPlusPlus
Next
|
#include <TcpLayer.h>
Public Member Functions | |
| TcpOption (uint8_t *optionRawData) | |
| ~TcpOption () override=default | |
| A d'tor for this class, currently does nothing. | |
| TcpOptionType | getTcpOptionType () const |
| TcpOptionEnumType | getTcpOptionEnumType () const |
| size_t | getTotalSize () const override |
| size_t | getDataSize () const override |
Public Member Functions inherited from pcpp::TLVRecord< uint8_t, uint8_t > | |
| TLVRecord (uint8_t *recordRawData) | |
| TLVRecord (const TLVRecord &other) | |
| virtual | ~TLVRecord ()=default |
| A d'tor for this class, currently does nothing. | |
| void | assign (uint8_t *recordRawData) |
| TLVRecord & | operator= (const TLVRecord &other) |
| bool | operator== (const TLVRecord &rhs) const |
| bool | operator!= (const TLVRecord &rhs) const |
| uint8_t | getType () const |
| uint8_t * | getValue () const |
| bool | isNull () const |
| bool | isNotNull () const |
| uint8_t * | getRecordBasePtr () const |
| void | purgeRecordData () |
| Free the memory of the TLV record raw data. | |
| T | getValueAs (size_t offset=0) const |
| bool | setValue (T newValue, int valueOffset=0) |
Static Public Member Functions | |
| static bool | canAssign (const uint8_t *recordRawData, size_t tlvDataLen) |
Static Public Member Functions inherited from pcpp::TLVRecord< uint8_t, uint8_t > | |
| static bool | canAssign (const uint8_t *recordRawData, size_t tlvDataLen) |
A wrapper class for TCP options. This class does not create or modify TCP option records, but rather serves as a wrapper and provides useful methods for retrieving data from them
|
inlineexplicit |
A c'tor for this class that gets a pointer to the option raw data (byte array)
| [in] | optionRawData | A pointer to the TCP option raw data |
|
inlinestatic |
Check if a pointer can be assigned to the TLV record data
| [in] | recordRawData | A pointer to the TLV record raw data |
| [in] | tlvDataLen | The size of the TLV record raw data |
|
inlineoverridevirtual |
Implements pcpp::TLVRecord< uint8_t, uint8_t >.
|
inline |
|
inline |
|
inlineoverridevirtual |
Implements pcpp::TLVRecord< uint8_t, uint8_t >.