FD.io VPP
v19.04.4-rc0-5-ge88582fac
Vector Packet Processing
|
Representation of next hop. More...
Public Member Functions | |
next_hop_t (const boost::asio::ip::address &ip, const mac_address_t &mac, uint32_t bd_id, uint32_t rd_id) | |
Constructor for next_hop_t. More... | |
~next_hop_t ()=default | |
default destructor More... | |
std::string | to_string () const |
convert to string More... | |
bool | operator< (const next_hop_t &nh) const |
less-than operator More... | |
bool | operator== (const next_hop_t &nh) const |
comparison operator (for testing) More... | |
const boost::asio::ip::address & | getIp (void) const |
get the IP address More... | |
const mac_address_t & | getMac (void) const |
get the mac address More... | |
const uint32_t | getBdId (void) const |
get the bridge domain Id More... | |
const uint32_t | getRdId (void) const |
get the route domain Id More... | |
Representation of next hop.
Definition at line 30 of file gbp_rule.hpp.
VOM::gbp_rule::next_hop_t::next_hop_t | ( | const boost::asio::ip::address & | ip, |
const mac_address_t & | mac, | ||
uint32_t | bd_id, | ||
uint32_t | rd_id | ||
) |
Constructor for next_hop_t.
Definition at line 21 of file gbp_rule.cpp.
|
default |
default destructor
const uint32_t VOM::gbp_rule::next_hop_t::getBdId | ( | void | ) | const |
get the bridge domain Id
Definition at line 70 of file gbp_rule.cpp.
const boost::asio::ip::address & VOM::gbp_rule::next_hop_t::getIp | ( | void | ) | const |
get the IP address
Definition at line 58 of file gbp_rule.cpp.
const mac_address_t & VOM::gbp_rule::next_hop_t::getMac | ( | void | ) | const |
get the mac address
Definition at line 64 of file gbp_rule.cpp.
const uint32_t VOM::gbp_rule::next_hop_t::getRdId | ( | void | ) | const |
get the route domain Id
Definition at line 76 of file gbp_rule.cpp.
bool VOM::gbp_rule::next_hop_t::operator< | ( | const next_hop_t & | nh | ) | const |
less-than operator
Definition at line 45 of file gbp_rule.cpp.
bool VOM::gbp_rule::next_hop_t::operator== | ( | const next_hop_t & | nh | ) | const |
comparison operator (for testing)
Definition at line 51 of file gbp_rule.cpp.
std::string VOM::gbp_rule::next_hop_t::to_string | ( | void | ) | const |
convert to string
Definition at line 33 of file gbp_rule.cpp.