FD.io VPP  v18.07-rc0-415-g6c78436
Vector Packet Processing
VOM::interface::oper_state_t Struct Reference

The oper state of the interface. More...

+ Inheritance diagram for VOM::interface::oper_state_t:
+ Collaboration diagram for VOM::interface::oper_state_t:

Static Public Member Functions

static oper_state_t from_int (uint8_t val)
 Convert VPP's numerical value to enum type. More...
 

Static Public Attributes

static const oper_state_t DOWN
 Operational DOWN state. More...
 
static const oper_state_t UP
 Operational UP state. More...
 

Additional Inherited Members

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

The oper state of the interface.

Definition at line 153 of file interface.hpp.

Member Function Documentation

interface::oper_state_t VOM::interface::oper_state_t::from_int ( uint8_t  val)
static

Convert VPP's numerical value to enum type.

Definition at line 100 of file interface_types.cpp.

Field Documentation

const interface::oper_state_t VOM::interface::oper_state_t::DOWN
static

Operational DOWN state.

Definition at line 158 of file interface.hpp.

const interface::oper_state_t VOM::interface::oper_state_t::UP
static

Operational UP state.

Definition at line 162 of file interface.hpp.


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