PcapPlusPlus
21.05
|
#include <RadiusLayer.h>
Public Member Functions | |
RadiusAttributeBuilder (uint8_t attrType, const uint8_t *attrValue, uint8_t attrValueLen) | |
RadiusAttributeBuilder (uint8_t attrType, uint8_t attrValue) | |
RadiusAttributeBuilder (uint8_t attrType, uint16_t attrValue) | |
RadiusAttributeBuilder (uint8_t attrType, uint32_t attrValue) | |
RadiusAttributeBuilder (uint8_t attrType, const IPv4Address &attrValue) | |
RadiusAttributeBuilder (uint8_t attrType, const std::string &attrValue) | |
RadiusAttributeBuilder (const RadiusAttributeBuilder &other) | |
RadiusAttributeBuilder & | operator= (const RadiusAttributeBuilder &other) |
RadiusAttribute | build () const |
A class for building RADIUS attributes. This builder receives the attribute parameters in its c'tor, builds the RADIUS attribute raw buffer and provides a build() method to get a RadiusAttribute object out of it
|
inline |
A c'tor for building RADIUS attributes which their value is a byte array. The RadiusAttribute object can later be retrieved by calling build()
[in] | attrType | RADIUS attribute type |
[in] | attrValue | A buffer containing the attribute value. This buffer is read-only and isn't modified in any way |
[in] | attrValueLen | Attribute value length in bytes |
|
inline |
A c'tor for building RADIUS attributes which have a 1-byte value. The RadiusAttribute object can later be retrieved by calling build()
[in] | attrType | RADIUS attribute type |
[in] | attrValue | A 1-byte attribute value |
|
inline |
A c'tor for building RADIUS attributes which have a 2-byte value. The RadiusAttribute object can later be retrieved by calling build()
[in] | attrType | RADIUS attribute type |
[in] | attrValue | A 2-byte attribute value |
|
inline |
A c'tor for building RADIUS attributes which have a 4-byte value. The RadiusAttribute object can later be retrieved by calling build()
[in] | attrType | RADIUS attribute type |
[in] | attrValue | A 4-byte attribute value |
|
inline |
A c'tor for building RADIUS attributes which have an IPv4Address value. The RadiusAttribute object can later be retrieved by calling build()
[in] | attrType | RADIUS attribute type |
[in] | attrValue | The IPv4 address attribute value |
|
inline |
A c'tor for building RADIUS attributes which have a string value. The RadiusAttribute object can later be retrieved by calling build()
[in] | attrType | RADIUS attribute type |
[in] | attrValue | The string attribute value |
|
inline |
A copy c'tor which copies all the data from another instance of RadiusAttributeBuilder
[in] | other | The instance to copy from |
RadiusAttribute pcpp::RadiusAttributeBuilder::build | ( | ) | const |
Build the RadiusAttribute object out of the parameters defined in the c'tor
|
inline |
Assignment operator that copies all data from another instance of RadiusAttributeBuilder
[in] | other | The instance to assign from |