FD.io VPP
v21.06-3-gbb25fbf28
Vector Packet Processing
|
A bond interface load balance. More...
Static Public Member Functions | |
static const lb_t | from_numeric_val (uint8_t v) |
Convert VPP's value of the bond to a lb. More... | |
Static Public Attributes | |
const static lb_t | L2 |
L2 bond interface lb. More... | |
const static lb_t | L34 |
L34 bond interface lb. More... | |
const static lb_t | L23 |
L23 bond interface lb. More... | |
const static lb_t | UNSPECIFIED |
Unspecified bond interface lb. More... | |
Additional Inherited Members | |
Public Member Functions inherited from VOM::enum_base< lb_t > | |
const std::string & | to_string () const |
convert to string format for debug purposes More... | |
bool | operator== (const enum_base &e) const |
Comparison operator. More... | |
enum_base & | operator= (const enum_base &e) |
Assignment. More... | |
enum_base & | operator|= (const enum_base &e) |
bitwise or assignemnt More... | |
enum_base | operator| (const enum_base &e1) const |
bitwise or More... | |
bool | operator!= (const enum_base &e) const |
Comparison operator. More... | |
operator int () const | |
integer conversion operator More... | |
int | value () const |
Return the value of the enum - same as integer conversion. More... | |
Protected Member Functions inherited from VOM::enum_base< lb_t > | |
enum_base (int value, const std::string desc) | |
Constructor of an enum - takes value and string description. More... | |
virtual | ~enum_base () |
Constructor. More... | |
A bond interface load balance.
Definition at line 73 of file bond_interface.hpp.
|
static |
Convert VPP's value of the bond to a lb.
Definition at line 170 of file bond_interface.cpp.
|
static |
L2 bond interface lb.
Definition at line 78 of file bond_interface.hpp.
|
static |
L23 bond interface lb.
Definition at line 86 of file bond_interface.hpp.
|
static |
L34 bond interface lb.
Definition at line 82 of file bond_interface.hpp.
|
static |
Unspecified bond interface lb.
Definition at line 90 of file bond_interface.hpp.