|
FD.io VPP
v21.06-3-gbb25fbf28
Vector Packet Processing
|
Go to the documentation of this file.
16 #ifndef __VOM_ACL_ETHERTYPE_CMDS_H__
17 #define __VOM_ACL_ETHERTYPE_CMDS_H__
23 #include <vapi/acl.api.vapi.hpp>
27 namespace acl_ethertype_cmds {
32 :
public rpc_cmd<HW::item<bool>, vapi::Acl_interface_set_etype_whitelist>
72 :
public rpc_cmd<HW::item<bool>, vapi::Acl_interface_set_etype_whitelist>
std::multiset< ethertype_rule_t > ethertype_rules_t
The ethertype container.
The VPP Object Model (VOM) library.
bind_cmd(HW::item< bool > &item, const handle_t &itf, const acl_ethertype::ethertype_rules_t &le)
Constructor.
A base class for all RPC commands to VPP.
bool operator==(const dump_cmd &i) const
Comparison operator - only used for UT.
std::string to_string() const
convert to string format for debug purposes
std::string to_string() const
convert to string format for debug purposes
A representation of the connection to VPP.
rc_t issue(connection &con)
Issue the command to VPP/HW.
bool operator==(const unbind_cmd &i) const
Comparison operator - only used for UT.
sll srl srl sll sra u16x4 i
A type declaration of an interface handle in VPP.
A command class that unbinds the ethertype list to the interface.
rc_t issue(connection &con)
Issue the command to VPP/HW.
A cmd class that Dumps all the acl ethertypes on given interface.
HW::item< bool > & item()
return the HW item the command updates
std::string to_string() const
convert to string format for debug purposes
bool operator==(const bind_cmd &i) const
Comparison operator - only used for UT.
unbind_cmd(HW::item< bool > &item, const handle_t &itf)
Constructor.
rc_t issue(connection &con)
Issue the command to VPP/HW.
dump_cmd()
Default Constructor.
Error codes that VPP will return during a HW write.
A base class for VPP dump commands.
A command class that binds the ethertype list to the interface.