|
PcapPlusPlus
Next
|
#include <BgpLayer.h>
Public Member Functions | |
| path_attribute () | |
| A default c'tor that zeroes all data. | |
| path_attribute (uint8_t flagsVal, uint8_t typeVal, const std::string &dataAsHexString) | |
Public Attributes | |
| uint8_t | flags |
| Path attribute flags. | |
| uint8_t | type |
| Path attribute type. | |
| uint8_t | length |
| Path attribute length. | |
| uint8_t | data [32] |
| Path attribute data. Max supported data length is 32 bytes. | |
A structure that represents BGP OPEN message Path Attributes information
| pcpp::BgpUpdateMessageLayer::path_attribute::path_attribute | ( | uint8_t | flagsVal, |
| uint8_t | typeVal, | ||
| const 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 |