FD.io VPP  v19.01.2-3-gf61a1a8
Vector Packet Processing
VOM::gbp_rule::action_t Struct Reference

ACL rule action enum. More...

+ Inheritance diagram for VOM::gbp_rule::action_t:
+ Collaboration diagram for VOM::gbp_rule::action_t:

Static Public Member Functions

static const action_tfrom_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_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< 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...
 

Detailed Description

ACL rule action enum.

Definition at line 192 of file gbp_rule.hpp.

Member Function Documentation

const gbp_rule::action_t & VOM::gbp_rule::action_t::from_int ( vapi_enum_gbp_rule_action  i)
static

create the action from int value

Definition at line 158 of file gbp_rule.cpp.

+ Here is the caller graph for this function:

Field Documentation

const gbp_rule::action_t VOM::gbp_rule::action_t::DENY
static

Deny action.

Definition at line 202 of file gbp_rule.hpp.

const gbp_rule::action_t VOM::gbp_rule::action_t::PERMIT
static

Permit action.

Definition at line 197 of file gbp_rule.hpp.

const gbp_rule::action_t VOM::gbp_rule::action_t::REDIRECT
static

Redirect action.

Definition at line 207 of file gbp_rule.hpp.


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