PcapPlusPlus
19.12
|
#include <RadiusLayer.h>
Public Member Functions | |
RadiusAttribute (uint8_t *attrRawData) | |
virtual | ~RadiusAttribute () |
size_t | getTotalSize () const |
size_t | getDataSize () const |
Public Member Functions inherited from pcpp::TLVRecord | |
TLVRecord (uint8_t *recordRawData) | |
TLVRecord (const TLVRecord &other) | |
virtual | ~TLVRecord () |
void | assign (uint8_t *recordRawData) |
TLVRecord & | operator= (const TLVRecord &other) |
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 () |
template<typename T > | |
T | getValueAs (size_t offset=0) const |
template<typename T > | |
bool | setValue (T newValue, int valueOffset=0) |
A wrapper class for RADIUS attributes. This class does not create or modify RADIUS attribute 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 attribute raw data (byte array)
[in] | attrRawData | A pointer to the attribute raw data |
|
inlinevirtual |
A d'tor for this class, currently does nothing
|
inlinevirtual |
Implements pcpp::TLVRecord.
|
inlinevirtual |
Implements pcpp::TLVRecord.