16 #ifndef __VOM_L2_ACL_RULE_H__ 17 #define __VOM_L2_ACL_RULE_H__
const mac_address_t & mac() const
uint32_t priority() const
Getters.
const route::prefix_t & src_ip() const
std::string to_string() const
convert to string format for debug purposes
~l2_rule()=default
Destructor.
An ACL rule is the building block of an ACL.
const mac_address_t & mac_mask() const
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.
The VPP Object Model (VOM) library.
bool operator==(const l2_rule &rule) const
comparison operator (for testing)
bool operator<(const l2_rule &rule) const
less-than operator
Type def of a Ethernet address.