FD.io VPP
v21.01-8-g9330de53e
Vector Packet Processing
|
Representation of set of next hops and associated hash mode profile. More...
Public Member Functions | |
next_hop_set_t (const hash_mode_t &hm, next_hops_t &nhs) | |
Constructor for next_hop_set_t. More... | |
next_hop_set_t (const hash_mode_t &hm=hash_mode_t::SYMMETRIC) | |
~next_hop_set_t ()=default | |
Destructor for next_hop_set_t. More... | |
std::string | to_string () const |
convert to string More... | |
bool | operator== (const next_hop_set_t &nhs) const |
Comparison operator. More... | |
const hash_mode_t & | hash_mode (void) const |
get the hash mode More... | |
const next_hops_t & | next_hops (void) const |
get the set of next hops More... | |
Representation of set of next hops and associated hash mode profile.
Definition at line 144 of file gbp_rule.hpp.
VOM::gbp_rule::next_hop_set_t::next_hop_set_t | ( | const hash_mode_t & | hm, |
gbp_rule::next_hops_t & | nhs | ||
) |
Constructor for next_hop_set_t.
Definition at line 101 of file gbp_rule.cpp.
VOM::gbp_rule::next_hop_set_t::next_hop_set_t | ( | const hash_mode_t & | hm = hash_mode_t::SYMMETRIC | ) |
Definition at line 108 of file gbp_rule.cpp.
|
default |
Destructor for next_hop_set_t.
const gbp_rule::hash_mode_t & VOM::gbp_rule::next_hop_set_t::hash_mode | ( | void | ) | const |
get the hash mode
Definition at line 137 of file gbp_rule.cpp.
const gbp_rule::next_hops_t & VOM::gbp_rule::next_hop_set_t::next_hops | ( | void | ) | const |
get the set of next hops
Definition at line 143 of file gbp_rule.cpp.
bool VOM::gbp_rule::next_hop_set_t::operator== | ( | const next_hop_set_t & | nhs | ) | const |
Comparison operator.
Definition at line 131 of file gbp_rule.cpp.
std::string VOM::gbp_rule::next_hop_set_t::to_string | ( | void | ) | const |
convert to string
Definition at line 115 of file gbp_rule.cpp.