FD.io VPP  v19.01.2-3-gf61a1a8
Vector Packet Processing
VOM::gbp_rule::next_hop_set_t Struct Reference

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_thash_mode (void) const
 get the hash mode More...
 
const next_hops_tnext_hops (void) const
 get the set of next hops More...
 

Detailed Description

Representation of set of next hops and associated hash mode profile.

Definition at line 144 of file gbp_rule.hpp.

Constructor & Destructor Documentation

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.

VOM::gbp_rule::next_hop_set_t::~next_hop_set_t ( )
default

Destructor for next_hop_set_t.

Member Function Documentation

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.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:


The documentation for this struct was generated from the following files: