FD.io VPP  v19.08-27-gf4dcae4
Vector Packet Processing
VOM::QoS::mark Class Reference

The marking of packets with QoS bits as they egress an interface. More...

+ Inheritance diagram for VOM::QoS::mark:
+ Collaboration diagram for VOM::QoS::mark:

Public Types

typedef std::pair< interface::key_t, source_tkey_t
 

Public Member Functions

 mark (const interface &i, const map &m, const source_t &source)
 
 mark (const mark &r)
 
 ~mark ()
 
const key_t key () const
 Return the object's key. More...
 
bool operator== (const mark &bdae) const
 comparison operator More...
 
std::shared_ptr< marksingular () 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...
 

Static Public Member Functions

static std::shared_ptr< markfind (const key_t &k)
 Find the instnace of the bridge_domain domain in the OM. More...
 
static void dump (std::ostream &os)
 Dump all bridge_domain-doamin into the stream provided. More...
 

Friends

class VOM::OM
 
class singular_db< key_t, mark >
 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

The marking of packets with QoS bits as they egress an interface.

Definition at line 32 of file qos_mark.hpp.

Member Typedef Documentation

Definition at line 40 of file qos_mark.hpp.

Constructor & Destructor Documentation

VOM::QoS::mark::mark ( const interface i,
const map m,
const source_t source 
)

Definition at line 29 of file qos_mark.cpp.

VOM::QoS::mark::mark ( const mark r)

Definition at line 37 of file qos_mark.cpp.

VOM::QoS::mark::~mark ( )

Definition at line 45 of file qos_mark.cpp.

+ Here is the call graph for this function:

Member Function Documentation

void VOM::QoS::mark::dump ( std::ostream &  os)
static

Dump all bridge_domain-doamin into the stream provided.

Definition at line 119 of file qos_mark.cpp.

+ Here is the call graph for this function:

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

Find the instnace of the bridge_domain domain in the OM.

Definition at line 107 of file qos_mark.cpp.

const mark::key_t VOM::QoS::mark::key ( ) const

Return the object's key.

Definition at line 52 of file qos_mark.cpp.

+ Here is the caller graph for this function:

bool VOM::QoS::mark::operator== ( const mark bdae) const

comparison operator

Definition at line 58 of file qos_mark.cpp.

+ Here is the call graph for this function:

void VOM::QoS::mark::replay ( void  )
virtual

replay the object to create it in hardware

Implements VOM::object_base.

Definition at line 73 of file qos_mark.cpp.

+ Here is the call graph for this function:

std::shared_ptr< mark > VOM::QoS::mark::singular ( ) const

Return the matching 'singular instance'.

Definition at line 113 of file qos_mark.cpp.

std::string VOM::QoS::mark::to_string ( void  ) const
virtual

Convert to string for debugging.

Implements VOM::object_base.

Definition at line 82 of file qos_mark.cpp.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Friends And Related Function Documentation

friend class singular_db< key_t, mark >
friend

It's the singular_db class that calls replay()

Definition at line 131 of file qos_mark.hpp.

friend class VOM::OM
friend

Definition at line 126 of file qos_mark.hpp.


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