|
libbgp
0.6
A C++ BGP Library.
|
IPv4 Route/Prefix related utilities. More...


Go to the source code of this file.
Classes | |
| class | libbgp::Prefix4 |
| IPv4 Route/Prefix related utilities. More... | |
Functions | |
| uint32_t | libbgp::cidr_to_mask (uint8_t cidr) |
| Convert netmask in CIDR notation to network bytes integer. More... | |
IPv4 Route/Prefix related utilities.
Definition in file prefix4.h.
| uint32_t libbgp::cidr_to_mask | ( | uint8_t | cidr | ) |
Convert netmask in CIDR notation to network bytes integer.
| cidr | The netmask in CIDR notation. |
| bad_route_length | Netmask invalid. |
Definition at line 33 of file prefix4.cc.
References libbgp::cidr_to_mask().
Referenced by libbgp::cidr_to_mask().
1.8.13