FD.io VPP
v19.01.3-6-g70449b9b9
Vector Packet Processing
|
Static Public Member Functions | |
static const action_t & | from_int (vapi_enum_gbp_rule_action i) |
create the action from int value More... | |
Static Public Attributes | |
static const action_t | PERMIT |
Permit action. More... | |
static const action_t | DENY |
Deny action. More... | |
static const action_t | REDIRECT |
Redirect action. More... | |
Additional Inherited Members | |
Public Member Functions inherited from VOM::enum_base< action_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... | |
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< action_t > | |
enum_base (int value, const std::string desc) | |
Constructor of an enum - takes value and string description. More... | |
virtual | ~enum_base () |
Constructor. More... | |
ACL rule action enum.
Definition at line 192 of file gbp_rule.hpp.
|
static |
create the action from int value
Definition at line 158 of file gbp_rule.cpp.
|
static |
Deny action.
Definition at line 202 of file gbp_rule.hpp.
|
static |
Permit action.
Definition at line 197 of file gbp_rule.hpp.
|
static |
Redirect action.
Definition at line 207 of file gbp_rule.hpp.