16 #ifndef __VOM_L2_ACL_RULE_H__ 17 #define __VOM_L2_ACL_RULE_H__
~l2_rule()=default
Destructor.
const action_t & action() const
const mac_address_t & mac_mask() const
An ACL rule is the building block of an ACL.
bool operator==(const l2_rule &rule) const
comparison operator (for testing)
uint32_t priority() const
Getters.
l2_rule(uint32_t priority, const action_t &action, const route::prefix_t &ip, const mac_address_t &mac, const mac_address_t &mac_mask)
Construct a new object matching the desried state.
const route::prefix_t & src_ip() const
bool operator<(const l2_rule &rule) const
less-than operator
The VPP Object Model (VOM) library.
std::string to_string() const
convert to string format for debug purposes
Type def of a Ethernet address.
const mac_address_t & mac() const