FD.io VPP  v21.06-3-gbb25fbf28
Vector Packet Processing
VOM::bond_member::rate_t Struct Reference

A member interface rate. More...

+ Inheritance diagram for VOM::bond_member::rate_t:
+ Collaboration diagram for VOM::bond_member::rate_t:

Static Public Member Functions

static const rate_t from_numeric_val (uint8_t v)
 Convert VPP's value of the bond to a mode. More...
 

Static Public Attributes

const static rate_t FAST
 Fast member interface rate. More...
 
const static rate_t SLOW
 SLOW member interface rate. More...
 

Additional Inherited Members

- Public Member Functions inherited from VOM::enum_base< rate_t >
const std::stringto_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< rate_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 member interface rate.

Definition at line 58 of file bond_member.hpp.

Member Function Documentation

◆ from_numeric_val()

const bond_member::rate_t VOM::bond_member::rate_t::from_numeric_val ( uint8_t  v)
static

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

Definition at line 110 of file bond_member.cpp.

+ Here is the caller graph for this function:

Field Documentation

◆ FAST

const bond_member::rate_t VOM::bond_member::rate_t::FAST
static

Fast member interface rate.

Definition at line 63 of file bond_member.hpp.

◆ SLOW

const bond_member::rate_t VOM::bond_member::rate_t::SLOW
static

SLOW member interface rate.

Definition at line 67 of file bond_member.hpp.


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