![]() |
FD.io VPP
v19.08.3-2-gbabecb413
Vector Packet Processing
|
The admin state of the interface. More...
Inheritance diagram for VOM::interface::admin_state_t:
Collaboration diagram for VOM::interface::admin_state_t:Static Public Member Functions | |
| static admin_state_t | from_int (uint8_t val) |
| Convert VPP's numerical value to enum type. More... | |
Static Public Attributes | |
| static const admin_state_t | DOWN |
| Admin DOWN state. More... | |
| static const admin_state_t | UP |
| Admin UP state. More... | |
Additional Inherited Members | |
Public Member Functions inherited from VOM::enum_base< admin_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_base & | operator= (const enum_base &e) |
| Assignment. More... | |
| enum_base & | operator|= (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< admin_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... | |
The admin state of the interface.
Definition at line 138 of file interface.hpp.
|
static |
Convert VPP's numerical value to enum type.
Definition at line 98 of file interface_types.cpp.
Here is the caller graph for this function:
|
static |
Admin DOWN state.
Definition at line 143 of file interface.hpp.
|
static |
Admin UP state.
Definition at line 147 of file interface.hpp.