FD.io VPP
v21.01.1
Vector Packet Processing
|
Error codes that VPP will return during a HW write. More...
Public Member Functions | |
~rc_t ()=default | |
Destructor. More... | |
Public Member Functions inherited from VOM::enum_base< rc_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... | |
Static Public Member Functions | |
static const rc_t & | from_vpp_retval (int32_t rv) |
Get the rc_t from the VPP API value. More... | |
Static Public Attributes | |
static const rc_t | UNSET |
The value un-set. More... | |
static const rc_t | NOOP |
The HW write/update action was/has not been attempted. More... | |
static const rc_t | OK |
The HW write was successfull. More... | |
static const rc_t | INVALID |
HW write reported invalid input. More... | |
static const rc_t | TIMEOUT |
HW write timedout - VPP did not respond within a timely manner. More... | |
Additional Inherited Members | |
Protected Member Functions inherited from VOM::enum_base< rc_t > | |
enum_base (int value, const std::string desc) | |
Constructor of an enum - takes value and string description. More... | |
virtual | ~enum_base () |
Constructor. More... | |
|
default |
Destructor.
|
static |
|
static |
|
static |
|
static |
|
static |