PcapPlusPlus
21.05
|
#include <BgpLayer.h>
Public Member Functions | |
prefix_and_ip () | |
prefix_and_ip (uint8_t prefixVal, const std::string &ipAddrVal) | |
Public Attributes | |
uint8_t | prefix |
IPv4Address | ipAddr |
A structure that contains IPv4 address and IP address mask (prefix) information. It's used to represent BGP Withdrawn Routes and Network Layer Reachability Information (NLRI)
|
inline |
A default c'tor that zeroes all data
|
inline |
A c'tor that initializes the values of the struct
[in] | prefixVal | IPv4 address mask value |
[in] | ipAddrVal | IPv4 address |
IPv4Address pcpp::BgpUpdateMessageLayer::prefix_and_ip::ipAddr |
IPv4 address
uint8_t pcpp::BgpUpdateMessageLayer::prefix_and_ip::prefix |
IPv4 address mask, must contain one of the values: 8, 16, 24, 32