|
FD.io VPP
v21.10.1-2-g0a485f517
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.