FD.io VPP
v19.04.4-rc0-5-ge88582fac
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 | |
static const zone_t & | from_vpp (u8 is_inside) |
Static Public Attributes | |
static const zone_t | INSIDE |
Permit Zone. More... | |
static const 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 |
|
static |
Permit Zone.
Definition at line 51 of file nat_binding.hpp.
|
static |
Deny Zone.
Definition at line 56 of file nat_binding.hpp.