FD.io VPP
v18.11-rc0-18-g2a3fb1a
Vector Packet Processing
|
A recirculation interface for GBP use pre/post NAT. More...
Data Structures | |
struct | type_t |
Public Types | |
typedef interface::key_t | key_t |
The key for a GBP recirc interface. More... | |
Public Member Functions | |
gbp_recirc (const interface &itf, const type_t &type, const gbp_endpoint_group &epg) | |
Construct a GBP recirc. More... | |
gbp_recirc (const gbp_recirc &r) | |
Copy Construct. More... | |
~gbp_recirc () | |
Destructor. More... | |
const key_t | key () const |
Return the object's key. More... | |
bool | operator== (const gbp_recirc &bdae) const |
comparison operator More... | |
std::shared_ptr< gbp_recirc > | singular () const |
Return the matching 'singular instance'. More... | |
void | replay (void) |
replay the object to create it in hardware More... | |
std::string | to_string () const |
Convert to string for debugging. More... | |
const handle_t & | handle () const |
return the recirculation interface's handle More... | |
Static Public Member Functions | |
static std::shared_ptr< gbp_recirc > | find (const key_t &k) |
Find the instnace of the recirc interface in the OM. More... | |
static void | dump (std::ostream &os) |
Dump all bridge_domain-doamin into the stream provided. More... | |
Friends | |
class | OM |
class | singular_db< key_t, gbp_recirc > |
It's the singular_db class that calls replay() More... | |
Additional Inherited Members | |
Protected Member Functions inherited from VOM::object_base | |
object_base ()=default | |
Constructable by derived classes only. More... | |
virtual | ~object_base ()=default |
Destructor. More... | |
A recirculation interface for GBP use pre/post NAT.
Definition at line 27 of file gbp_recirc.hpp.
The key for a GBP recirc interface.
Definition at line 33 of file gbp_recirc.hpp.
VOM::gbp_recirc::gbp_recirc | ( | const interface & | itf, |
const type_t & | type, | ||
const gbp_endpoint_group & | epg | ||
) |
Construct a GBP recirc.
Definition at line 34 of file gbp_recirc.cpp.
VOM::gbp_recirc::gbp_recirc | ( | const gbp_recirc & | r | ) |
Copy Construct.
Definition at line 44 of file gbp_recirc.cpp.
VOM::gbp_recirc::~gbp_recirc | ( | ) |
|
static |
Dump all bridge_domain-doamin into the stream provided.
Definition at line 133 of file gbp_recirc.cpp.
|
static |
Find the instnace of the recirc interface in the OM.
Definition at line 121 of file gbp_recirc.cpp.
const handle_t & VOM::gbp_recirc::handle | ( | ) | const |
return the recirculation interface's handle
Definition at line 65 of file gbp_recirc.cpp.
const gbp_recirc::key_t VOM::gbp_recirc::key | ( | ) | const |
Return the object's key.
Definition at line 59 of file gbp_recirc.cpp.
bool VOM::gbp_recirc::operator== | ( | const gbp_recirc & | bdae | ) | const |
comparison operator
Definition at line 71 of file gbp_recirc.cpp.
|
virtual |
replay the object to create it in hardware
Implements VOM::object_base.
Definition at line 87 of file gbp_recirc.cpp.
std::shared_ptr< gbp_recirc > VOM::gbp_recirc::singular | ( | ) | const |
Return the matching 'singular instance'.
Definition at line 127 of file gbp_recirc.cpp.
|
virtual |
Convert to string for debugging.
Implements VOM::object_base.
Definition at line 96 of file gbp_recirc.cpp.
|
friend |
Definition at line 161 of file gbp_recirc.hpp.
|
friend |
It's the singular_db class that calls replay()
Definition at line 166 of file gbp_recirc.hpp.