|
PcapPlusPlus
20.08
|
#include <BgpLayer.h>
Public Member Functions | |
| optional_parameter () | |
| optional_parameter (uint8_t typeVal, std::string valueAsHexString) | |
Public Attributes | |
| uint8_t | type |
| uint8_t | length |
| uint8_t | value [32] |
A structure that represents BGP OPEN message optional parameters
|
inline |
A default c'tor that zeroes all data
| pcpp::BgpOpenMessageLayer::optional_parameter::optional_parameter | ( | uint8_t | typeVal, |
| std::string | valueAsHexString | ||
| ) |
A c'tor that initializes the values of the struct
| [in] | typeVal | Parameter type value |
| [in] | valueAsHexString | Parameter data as hex string. The 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 zero |
| uint8_t pcpp::BgpOpenMessageLayer::optional_parameter::length |
Parameter length
| uint8_t pcpp::BgpOpenMessageLayer::optional_parameter::type |
Parameter type
| uint8_t pcpp::BgpOpenMessageLayer::optional_parameter::value[32] |
Parameter data