FD.io VPP
v19.08.2-294-g37e99c22d
Vector Packet Processing
|
Data Structures | |
struct | action_t |
ACL rule action enum. More... | |
struct | hash_mode_t |
hash mode enum More... | |
struct | next_hop_set_t |
Representation of set of next hops and associated hash mode profile. More... | |
struct | next_hop_t |
Representation of next hop. More... | |
Public Types | |
typedef std::set< next_hop_t > | next_hops_t |
unordered set of next hops More... | |
Public Member Functions | |
gbp_rule (uint32_t priority, const next_hop_set_t &nhs, const action_t &a) | |
Construct a new object matching the desried state. More... | |
gbp_rule (uint32_t priority, const action_t &a) | |
gbp_rule (const gbp_rule &o)=default | |
Copy Constructor. More... | |
~gbp_rule ()=default | |
Destructor. More... | |
std::string | to_string () const |
convert to string format for debug purposes More... | |
bool | operator< (const gbp_rule &rule) const |
less-than operator More... | |
bool | operator== (const gbp_rule &rule) const |
comparison operator (for testing) More... | |
const next_hop_set_t & | nhs () const |
Getters. More... | |
const action_t & | action () const |
Definition at line 24 of file gbp_rule.hpp.
typedef std::set<next_hop_t> VOM::gbp_rule::next_hops_t |
unordered set of next hops
Definition at line 138 of file gbp_rule.hpp.
VOM::gbp_rule::gbp_rule | ( | uint32_t | priority, |
const next_hop_set_t & | nhs, | ||
const action_t & | a | ||
) |
Construct a new object matching the desried state.
Definition at line 168 of file gbp_rule.cpp.
VOM::gbp_rule::gbp_rule | ( | uint32_t | priority, |
const action_t & | a | ||
) |
Definition at line 177 of file gbp_rule.cpp.
|
default |
Copy Constructor.
|
default |
Destructor.
const gbp_rule::action_t & VOM::gbp_rule::action | ( | ) | const |
Definition at line 210 of file gbp_rule.cpp.
const gbp_rule::next_hop_set_t & VOM::gbp_rule::nhs | ( | ) | const |
Getters.
Definition at line 216 of file gbp_rule.cpp.
less-than operator
Definition at line 185 of file gbp_rule.cpp.
comparison operator (for testing)
Definition at line 191 of file gbp_rule.cpp.
std::string VOM::gbp_rule::to_string | ( | void | ) | const |
convert to string format for debug purposes
Definition at line 198 of file gbp_rule.cpp.