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