FD.io VPP
v19.08.2-294-g37e99c22d
Vector Packet Processing
|
A prefix defintion. More...
Public Member Functions | |
mprefix_t () | |
Default Constructor - creates ::/0. More... | |
mprefix_t (const boost::asio::ip::address &saddr, const boost::asio::ip::address &gaddr) | |
Constructor for (S,G) More... | |
mprefix_t (const boost::asio::ip::address &gaddr) | |
mprefix_t (const boost::asio::ip::address &gaddr, uint8_t len) | |
mprefix_t (const boost::asio::ip::address &saddr, const boost::asio::ip::address &gaddr, uint16_t len) | |
Constructor for (S,G) More... | |
mprefix_t (const mprefix_t &) | |
Copy Constructor. More... | |
~mprefix_t () | |
Destructor. More... | |
const boost::asio::ip::address & | grp_address () const |
Get the address. More... | |
const boost::asio::ip::address & | src_address () const |
uint8_t | mask_width () const |
Get the network mask width. More... | |
mprefix_t & | operator= (const mprefix_t &) |
Assignement. More... | |
bool | operator< (const mprefix_t &o) const |
Less than operator. More... | |
bool | operator== (const mprefix_t &o) const |
equals operator More... | |
bool | operator!= (const mprefix_t &o) const |
not equal opartor More... | |
std::string | to_string () const |
convert to string format for debug purposes More... | |
l3_proto_t | l3_proto () const |
Get the L3 protocol. More... | |
Static Public Attributes | |
static const mprefix_t | ZERO |
The all Zeros prefix. More... | |
static const mprefix_t | ZEROv6 |
The all Zeros v6 prefix. More... | |
VOM::route::mprefix_t::mprefix_t | ( | ) |
Default Constructor - creates ::/0.
Definition at line 497 of file prefix.cpp.
VOM::route::mprefix_t::mprefix_t | ( | const boost::asio::ip::address & | saddr, |
const boost::asio::ip::address & | gaddr | ||
) |
Constructor for (S,G)
Definition at line 474 of file prefix.cpp.
VOM::route::mprefix_t::mprefix_t | ( | const boost::asio::ip::address & | gaddr | ) |
Definition at line 467 of file prefix.cpp.
VOM::route::mprefix_t::mprefix_t | ( | const boost::asio::ip::address & | gaddr, |
uint8_t | len | ||
) |
Definition at line 460 of file prefix.cpp.
VOM::route::mprefix_t::mprefix_t | ( | const boost::asio::ip::address & | saddr, |
const boost::asio::ip::address & | gaddr, | ||
uint16_t | len | ||
) |
Constructor for (S,G)
Definition at line 482 of file prefix.cpp.
VOM::route::mprefix_t::mprefix_t | ( | const mprefix_t & | o | ) |
Copy Constructor.
Definition at line 491 of file prefix.cpp.
VOM::route::mprefix_t::~mprefix_t | ( | ) |
Destructor.
Definition at line 504 of file prefix.cpp.
const boost::asio::ip::address & VOM::route::mprefix_t::grp_address | ( | ) | const |
Get the address.
Definition at line 509 of file prefix.cpp.
l3_proto_t VOM::route::mprefix_t::l3_proto | ( | ) | const |
Get the L3 protocol.
Definition at line 527 of file prefix.cpp.
uint8_t VOM::route::mprefix_t::mask_width | ( | ) | const |
Get the network mask width.
Definition at line 521 of file prefix.cpp.
not equal opartor
Definition at line 568 of file prefix.cpp.
Less than operator.
Definition at line 549 of file prefix.cpp.
route::mprefix_t & VOM::route::mprefix_t::operator= | ( | const mprefix_t & | o | ) |
Assignement.
Definition at line 539 of file prefix.cpp.
equals operator
Definition at line 562 of file prefix.cpp.
const boost::asio::ip::address & VOM::route::mprefix_t::src_address | ( | ) | const |
std::string VOM::route::mprefix_t::to_string | ( | void | ) | const |
convert to string format for debug purposes
Definition at line 574 of file prefix.cpp.
|
static |
The all Zeros prefix.
Definition at line 330 of file prefix.hpp.
|
static |
The all Zeros v6 prefix.
Definition at line 335 of file prefix.hpp.