|
PcapPlusPlus
Next
|
#include <DhcpV6Layer.h>
Public Member Functions | |
| DhcpV6Option (uint8_t *optionRawData) | |
| ~DhcpV6Option () override=default | |
| A d'tor for this class, currently does nothing. | |
| DhcpV6OptionType | getType () const |
| std::string | getValueAsHexString () const |
| size_t | getTotalSize () const override |
| size_t | getDataSize () const override |
Public Member Functions inherited from pcpp::TLVRecord< uint16_t, uint16_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 |
| uint16_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) |
Additional Inherited Members | |
Static Public Member Functions inherited from pcpp::TLVRecord< uint16_t, uint16_t > | |
| static bool | canAssign (const uint8_t *recordRawData, size_t tlvDataLen) |
A wrapper class for DHCPv6 options. This class does not create or modify DHCP option records, but rather serves as a wrapper and provides useful methods for setting and retrieving data to/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 option raw data |
|
overridevirtual |
Implements pcpp::TLVRecord< uint16_t, uint16_t >.
|
overridevirtual |
Implements pcpp::TLVRecord< uint16_t, uint16_t >.
| DhcpV6OptionType pcpp::DhcpV6Option::getType | ( | ) | const |
| std::string pcpp::DhcpV6Option::getValueAsHexString | ( | ) | const |