PcapPlusPlus
22.11
|
#include <BgpLayer.h>
Public Member Functions | |
path_attribute () | |
path_attribute (uint8_t flagsVal, uint8_t typeVal, std::string dataAsHexString) | |
Public Attributes | |
uint8_t | flags |
uint8_t | type |
uint8_t | length |
uint8_t | data [32] |
A structure that represents BGP OPEN message Path Attributes information
|
inline |
A default c'tor that zeroes all data
pcpp::BgpUpdateMessageLayer::path_attribute::path_attribute | ( | uint8_t | flagsVal, |
uint8_t | typeVal, | ||
std::string | dataAsHexString | ||
) |
A c'tor that initializes the values of the struct
[in] | flagsVal | Path attribute flags value |
[in] | typeVal | Path attribute type value |
[in] | dataAsHexString | Path attribute data as hex string. The path_attribute::length field will be set accordingly. If this parameter is not a valid hex string the data will remain zeroed and length will be also set to zero |
uint8_t pcpp::BgpUpdateMessageLayer::path_attribute::data[32] |
Path attribute data. Max supported data length is 32 bytes
uint8_t pcpp::BgpUpdateMessageLayer::path_attribute::flags |
Path attribute flags
uint8_t pcpp::BgpUpdateMessageLayer::path_attribute::length |
Path attribute length
uint8_t pcpp::BgpUpdateMessageLayer::path_attribute::type |
Path attribute type