FD.io VPP  v19.01.2-3-gf61a1a8
Vector Packet Processing
VOM::bond_interface::mode_t Struct Reference

A bond interface mode. More...

+ Inheritance diagram for VOM::bond_interface::mode_t:
+ Collaboration diagram for VOM::bond_interface::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 ROUND_ROBIN
 Round-Robin bond interface mode. More...
 
static const mode_t ACTIVE_BACKUP
 Active-backup bond interface mode. More...
 
static const mode_t XOR
 XOR bond interface mode. More...
 
static const mode_t BROADCAST
 Broadcast bond interface mode. More...
 
static const mode_t LACP
 LACP bond interface mode. More...
 
static const mode_t UNSPECIFIED
 Unspecificed bond 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 bond interface mode.

Definition at line 31 of file bond_interface.hpp.

Member Function Documentation

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

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

Definition at line 138 of file bond_interface.cpp.

+ Here is the caller graph for this function:

Field Documentation

const bond_interface::mode_t VOM::bond_interface::mode_t::ACTIVE_BACKUP
static

Active-backup bond interface mode.

Definition at line 40 of file bond_interface.hpp.

const bond_interface::mode_t VOM::bond_interface::mode_t::BROADCAST
static

Broadcast bond interface mode.

Definition at line 48 of file bond_interface.hpp.

const bond_interface::mode_t VOM::bond_interface::mode_t::LACP
static

LACP bond interface mode.

Definition at line 52 of file bond_interface.hpp.

const bond_interface::mode_t VOM::bond_interface::mode_t::ROUND_ROBIN
static

Round-Robin bond interface mode.

Definition at line 36 of file bond_interface.hpp.

const bond_interface::mode_t VOM::bond_interface::mode_t::UNSPECIFIED
static

Unspecificed bond interface mode.

Definition at line 56 of file bond_interface.hpp.

const bond_interface::mode_t VOM::bond_interface::mode_t::XOR
static

XOR bond interface mode.

Definition at line 44 of file bond_interface.hpp.


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