FD.io VPP  v18.10-34-gcce845e
Vector Packet Processing
VOM::bond_member::mode_t Struct Reference

A member interface mode. More...

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

Static Public Member Functions

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

Static Public Attributes

static const mode_t ACTIVE
 Active member interface mode. More...
 
static const mode_t PASSIVE
 Passive member interface mode. More...
 

Additional Inherited Members

- Public Member Functions inherited from VOM::enum_base< mode_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< mode_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 mode.

Definition at line 32 of file bond_member.hpp.

Member Function Documentation

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

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

Definition at line 93 of file bond_member.cpp.

+ Here is the caller graph for this function:

Field Documentation

const bond_member::mode_t VOM::bond_member::mode_t::ACTIVE
static

Active member interface mode.

Definition at line 37 of file bond_member.hpp.

const bond_member::mode_t VOM::bond_member::mode_t::PASSIVE
static

Passive member interface mode.

Definition at line 41 of file bond_member.hpp.


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