| PcapPlusPlus
    25.05
    | 
#include <BgpLayer.h>
| Public Member Functions | |
| prefix_and_ip () | |
| A default c'tor that zeroes all data. | |
| prefix_and_ip (uint8_t prefixVal, const std::string &ipAddrVal) | |
| Public Attributes | |
| uint8_t | prefix | 
| IPv4 address mask, must contain one of the values: 8, 16, 24, 32. | |
| IPv4Address | ipAddr | 
| IPv4 address. | |
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 c'tor that initializes the values of the struct
| [in] | prefixVal | IPv4 address mask value | 
| [in] | ipAddrVal | IPv4 address |