FD.io VPP  v20.09-64-g4f7b92f0a
Vector Packet Processing
VOM::bond_interface::lb_t Struct Reference

A bond interface load balance. More...

+ Inheritance diagram for VOM::bond_interface::lb_t:
+ Collaboration diagram for VOM::bond_interface::lb_t:

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

static const lb_t L2
 L2 bond interface lb. More...
 
static const lb_t L34
 L34 bond interface lb. More...
 
static const lb_t L23
 L23 bond interface lb. More...
 
static const 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_baseoperator= (const enum_base &e)
 Assignment. More...
 
enum_baseoperator|= (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...
 

Detailed Description

A bond interface load balance.

Definition at line 73 of file bond_interface.hpp.

Member Function Documentation

◆ from_numeric_val()

const bond_interface::lb_t VOM::bond_interface::lb_t::from_numeric_val ( uint8_t  v)
static

Convert VPP's value of the bond to a lb.

Definition at line 170 of file bond_interface.cpp.

+ Here is the caller graph for this function:

Field Documentation

◆ L2

const bond_interface::lb_t VOM::bond_interface::lb_t::L2
static

L2 bond interface lb.

Definition at line 78 of file bond_interface.hpp.

◆ L23

const bond_interface::lb_t VOM::bond_interface::lb_t::L23
static

L23 bond interface lb.

Definition at line 86 of file bond_interface.hpp.

◆ L34

const bond_interface::lb_t VOM::bond_interface::lb_t::L34
static

L34 bond interface lb.

Definition at line 82 of file bond_interface.hpp.

◆ UNSPECIFIED

const bond_interface::lb_t VOM::bond_interface::lb_t::UNSPECIFIED
static

Unspecified bond interface lb.

Definition at line 90 of file bond_interface.hpp.


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