![]() |
FD.io VPP
v21.06-3-gbb25fbf28
Vector Packet Processing
|
Inheritance diagram for VOM::gbp_rule::action_t:
Collaboration diagram for VOM::gbp_rule::action_t: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 | |
| const static action_t | PERMIT |
| Permit action. More... | |
| const static action_t | DENY |
| Deny action. More... | |
| const static 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... | |
| 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< 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.