PcapPlusPlus
|
#include <IPv6Extensions.h>
Public Member Functions | |
IPv6Option (uint8_t *optionRawData) | |
~IPv6Option () | |
size_t | getTotalSize () const |
size_t | getDataSize () |
Public Member Functions inherited from pcpp::TLVRecord | |
TLVRecord (uint8_t *recordRawData) | |
TLVRecord (const TLVRecord &other) | |
virtual | ~TLVRecord () |
TLVRecord & | operator= (const TLVRecord &other) |
bool | operator== (const TLVRecord &rhs) |
uint8_t | getType () |
uint8_t * | getValue () |
bool | isNull () |
bool | isNotNull () |
uint8_t * | getRecordBasePtr () |
void | purgeRecordData () |
template<typename T > | |
T | getValueAs (size_t offset=0) |
template<typename T > | |
bool | setValue (T newValue, int valueOffset=0) |
A class representing a Type-Length-Value (TLV) options that are used inside Hop-By-Hop and Destinations IPv6 extensions. This class does not create or modify IPv6 option records, but rather serves as a wrapper and provides useful methods for retrieving data from them
|
inline |
A c'tor for this class that gets a pointer to the option raw data (byte array)
[in] | optionRawData | A pointer to the attribute raw data |
|
inline |
A d'tor for this class, currently does nothing
|
inlinevirtual |
Implements pcpp::TLVRecord.
|
inlinevirtual |
Implements pcpp::TLVRecord.