FD.io VPP  v18.07.1-11-g31aa6f2
Vector Packet Processing
VOM::ACL::action_t Struct Reference

ACL Actions. More...

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

Static Public Member Functions

static const action_tfrom_int (uint8_t i)
 Get the enum type from a VPP integer value. More...
 
static const action_tfrom_bool (bool b, uint8_t c)
 Get the enum type from a bool value and optional uint8_t value which implements the connection tracking .... More...
 

Static Public Attributes

static const action_t PERMITANDREFLEX
 Permit and Reflexive. More...
 
static const action_t PERMIT
 Permit Action. More...
 
static const action_t DENY
 Deny 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 Actions.

Definition at line 26 of file acl_types.hpp.

Member Function Documentation

const action_t & VOM::ACL::action_t::from_bool ( bool  b,
uint8_t  c 
)
static

Get the enum type from a bool value and optional uint8_t value which implements the connection tracking ....

Definition at line 41 of file acl_types.cpp.

const action_t & VOM::ACL::action_t::from_int ( uint8_t  i)
static

Get the enum type from a VPP integer value.

Definition at line 30 of file acl_types.cpp.

Field Documentation

const action_t VOM::ACL::action_t::DENY
static

Deny Action.

Definition at line 41 of file acl_types.hpp.

const action_t VOM::ACL::action_t::PERMIT
static

Permit Action.

Definition at line 36 of file acl_types.hpp.

const action_t VOM::ACL::action_t::PERMITANDREFLEX
static

Permit and Reflexive.

Definition at line 31 of file acl_types.hpp.


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