FD.io VPP
v18.04-17-g3a0d853
Vector Packet Processing
|
Public Types | |
typedef std::string | key_t |
The KEY can be used to uniquely identify the ACL ethertype. More... | |
typedef std::multiset< ethertype_rule_t > | ethertype_rules_t |
The ethertype container. More... | |
Public Member Functions | |
acl_ethertype (const interface &itf, const ethertype_rules_t &le) | |
Construct a new object matching the desried state. More... | |
acl_ethertype (const acl_ethertype &o) | |
Copy Constructor. More... | |
~acl_ethertype () | |
Destructor. More... | |
const key_t & | key () const |
Return the binding's key. More... | |
bool | operator== (const acl_ethertype &o) const |
comparision operator (for testing) More... | |
std::shared_ptr< acl_ethertype > | singular () const |
Return the 'singular' of the acl ethertype that matches this object. More... | |
std::string | to_string () const |
convert to string format for debug purposes More... | |
Static Public Member Functions | |
static void | dump (std::ostream &os) |
Dump all acl ethertype into the stream provided. More... | |
static std::shared_ptr< acl_ethertype > | find (const key_t &key) |
Static function to find the acl_ethertype in the model. More... | |
Friends | |
class | VOM::OM |
class | singular_db< interface::key_t, acl_ethertype > |
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... | |
Definition at line 87 of file acl_ethertype.hpp.
typedef std::multiset<ethertype_rule_t> VOM::ACL::acl_ethertype::ethertype_rules_t |
The ethertype container.
Definition at line 100 of file acl_ethertype.hpp.
typedef std::string VOM::ACL::acl_ethertype::key_t |
The KEY can be used to uniquely identify the ACL ethertype.
(other choices for keys, like the summation of the properties of the rules, are rather too cumbersome to use
Definition at line 95 of file acl_ethertype.hpp.
VOM::ACL::acl_ethertype::acl_ethertype | ( | const interface & | itf, |
const ethertype_rules_t & | le | ||
) |
Construct a new object matching the desried state.
Definition at line 73 of file acl_ethertype.cpp.
VOM::ACL::acl_ethertype::acl_ethertype | ( | const acl_ethertype & | o | ) |
Copy Constructor.
Definition at line 81 of file acl_ethertype.cpp.
VOM::ACL::acl_ethertype::~acl_ethertype | ( | ) |
Destructor.
Definition at line 88 of file acl_ethertype.cpp.
|
static |
Dump all acl ethertype into the stream provided.
Definition at line 124 of file acl_ethertype.cpp.
|
static |
Static function to find the acl_ethertype in the model.
Definition at line 118 of file acl_ethertype.cpp.
const acl_ethertype::key_t & VOM::ACL::acl_ethertype::key | ( | ) | const |
Return the binding's key.
Definition at line 106 of file acl_ethertype.cpp.
bool VOM::ACL::acl_ethertype::operator== | ( | const acl_ethertype & | o | ) | const |
comparision operator (for testing)
Definition at line 112 of file acl_ethertype.cpp.
std::shared_ptr< acl_ethertype > VOM::ACL::acl_ethertype::singular | ( | ) | const |
Return the 'singular' of the acl ethertype that matches this object.
Definition at line 174 of file acl_ethertype.cpp.
|
virtual |
convert to string format for debug purposes
Implements VOM::object_base.
Definition at line 139 of file acl_ethertype.cpp.
|
friend |
It's the singular_db class that calls replay()
Definition at line 201 of file acl_ethertype.hpp.
|
friend |
Definition at line 196 of file acl_ethertype.hpp.