|
PcapPlusPlus
Next
|
#include <BgpLayer.h>
Public Member Functions | |
| optional_parameter () | |
| A default c'tor that zeroes all data. | |
| optional_parameter (uint8_t typeVal, const std::string &valueAsHexString) | |
Public Attributes | |
| uint8_t | type |
| Parameter type. | |
| uint8_t | length |
| Parameter length. | |
| uint8_t | value [32] |
| Parameter data. | |
A structure that represents BGP OPEN message optional parameters
| pcpp::BgpOpenMessageLayer::optional_parameter::optional_parameter | ( | uint8_t | typeVal, |
| const 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 |