FD.io VPP
v21.01.1
Vector Packet Processing
|
The marking of packets with QoS bits as they egress an interface. More...
Public Types | |
typedef std::pair< interface::key_t, source_t > | key_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< mark > | 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... | |
Static Public Member Functions | |
static std::shared_ptr< mark > | find (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... | |
The marking of packets with QoS bits as they egress an interface.
Definition at line 32 of file qos_mark.hpp.
typedef std::pair<interface::key_t, source_t> VOM::QoS::mark::key_t |
Definition at line 40 of file qos_mark.hpp.
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 | ( | ) |
|
static |
Dump all bridge_domain-doamin into the stream provided.
Definition at line 119 of file qos_mark.cpp.
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.
comparison operator
Definition at line 58 of file qos_mark.cpp.
|
virtual |
replay the object to create it in hardware
Implements VOM::object_base.
Definition at line 73 of file qos_mark.cpp.
std::shared_ptr< mark > VOM::QoS::mark::singular | ( | ) | const |
Return the matching 'singular instance'.
Definition at line 113 of file qos_mark.cpp.
|
virtual |
Convert to string for debugging.
Implements VOM::object_base.
Definition at line 82 of file qos_mark.cpp.
|
friend |
It's the singular_db class that calls replay()
Definition at line 131 of file qos_mark.hpp.
|
friend |
Definition at line 126 of file qos_mark.hpp.