FD.io VPP  v19.04.4-rc0-5-ge88582fac
Vector Packet Processing
VOM::gbp_recirc Class Reference

A recirculation interface for GBP use pre/post NAT. More...

+ Inheritance diagram for VOM::gbp_recirc:
+ Collaboration diagram for VOM::gbp_recirc:

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_recircsingular () 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_thandle () const
 return the recirculation interface's handle More...
 

Static Public Member Functions

static std::shared_ptr< gbp_recircfind (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...
 

Detailed Description

A recirculation interface for GBP use pre/post NAT.

Definition at line 27 of file gbp_recirc.hpp.

Member Typedef Documentation

◆ key_t

The key for a GBP recirc interface.

Definition at line 33 of file gbp_recirc.hpp.

Constructor & Destructor Documentation

◆ gbp_recirc() [1/2]

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.

◆ gbp_recirc() [2/2]

VOM::gbp_recirc::gbp_recirc ( const gbp_recirc r)

Copy Construct.

Definition at line 44 of file gbp_recirc.cpp.

◆ ~gbp_recirc()

VOM::gbp_recirc::~gbp_recirc ( )

Destructor.

Definition at line 52 of file gbp_recirc.cpp.

+ Here is the call graph for this function:

Member Function Documentation

◆ dump()

void VOM::gbp_recirc::dump ( std::ostream &  os)
static

Dump all bridge_domain-doamin into the stream provided.

Definition at line 133 of file gbp_recirc.cpp.

+ Here is the call graph for this function:

◆ find()

std::shared_ptr< gbp_recirc > VOM::gbp_recirc::find ( const key_t k)
static

Find the instnace of the recirc interface in the OM.

Definition at line 121 of file gbp_recirc.cpp.

+ Here is the caller graph for this function:

◆ handle()

const handle_t & VOM::gbp_recirc::handle ( ) const

return the recirculation interface's handle

Definition at line 65 of file gbp_recirc.cpp.

◆ key()

const gbp_recirc::key_t VOM::gbp_recirc::key ( ) const

Return the object's key.

Definition at line 59 of file gbp_recirc.cpp.

+ Here is the caller graph for this function:

◆ operator==()

bool VOM::gbp_recirc::operator== ( const gbp_recirc bdae) const

comparison operator

Definition at line 71 of file gbp_recirc.cpp.

+ Here is the call graph for this function:

◆ replay()

void VOM::gbp_recirc::replay ( void  )
virtual

replay the object to create it in hardware

Implements VOM::object_base.

Definition at line 87 of file gbp_recirc.cpp.

+ Here is the call graph for this function:

◆ singular()

std::shared_ptr< gbp_recirc > VOM::gbp_recirc::singular ( ) const

Return the matching 'singular instance'.

Definition at line 127 of file gbp_recirc.cpp.

◆ to_string()

std::string VOM::gbp_recirc::to_string ( void  ) const
virtual

Convert to string for debugging.

Implements VOM::object_base.

Definition at line 96 of file gbp_recirc.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Friends And Related Function Documentation

◆ OM

friend class OM
friend

Definition at line 161 of file gbp_recirc.hpp.

◆ singular_db< key_t, gbp_recirc >

friend class singular_db< key_t, gbp_recirc >
friend

It's the singular_db class that calls replay()

Definition at line 166 of file gbp_recirc.hpp.


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