FD.io VPP  v18.10-34-gcce845e
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
 Unspecificed 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...
 
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

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

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.

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.

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.

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

Unspecificed bond interface lb.

Definition at line 90 of file bond_interface.hpp.


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