FD.io VPP
v21.10.1-2-g0a485f517
Vector Packet Processing
|
NAT Zoness. More...
Public Member Functions | |
zone_t (int v, const std::string s) | |
Constructor. More... | |
~zone_t ()=default | |
Destructor. More... | |
Public Member Functions inherited from VOM::enum_base< zone_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 | |
const static zone_t & | from_vpp (u8 is_inside) |
Static Public Attributes | |
const static zone_t | INSIDE |
Permit Zone. More... | |
const static zone_t | OUTSIDE |
Deny Zone. More... | |
Additional Inherited Members | |
Protected Member Functions inherited from VOM::enum_base< zone_t > | |
enum_base (int value, const std::string desc) | |
Constructor of an enum - takes value and string description. More... | |
virtual | ~enum_base () |
Constructor. More... | |
NAT Zoness.
Definition at line 36 of file nat_binding.hpp.
VOM::nat_binding::zone_t::zone_t | ( | int | v, |
const std::string | s | ||
) |
Constructor.
Definition at line 29 of file nat_binding.cpp.
|
default |
Destructor.
|
static |
Definition at line 34 of file nat_binding.cpp.
|
static |
Permit Zone.
Definition at line 51 of file nat_binding.hpp.
|
static |
Deny Zone.
Definition at line 56 of file nat_binding.hpp.