|
FD.io VPP
v21.06-3-gbb25fbf28
Vector Packet Processing
|
Go to the documentation of this file.
16 #ifndef __VOM_L2_VTR_CMDS_H__
17 #define __VOM_L2_VTR_CMDS_H__
22 #include <vapi/l2.api.vapi.hpp>
25 namespace l2_vtr_cmds {
30 vapi::L2_interface_vlan_tag_rewrite>
The VPP Object Model (VOM) library.
A base class for all RPC commands to VPP.
bool operator==(const set_cmd &i) const
Comparison operator - only used for UT.
rc_t issue(connection &con)
Issue the command to VPP/HW.
A representation of the connection to VPP.
sll srl srl sll sra u16x4 i
set_cmd(HW::item< l2_vtr::option_t > &item, const handle_t &itf, uint16_t tag)
Constructor.
A type declaration of an interface handle in VPP.
A cmd class sets the VTR operation.
HW::item< l2_vtr::option_t > & item()
return the HW item the command updates
std::string to_string() const
convert to string format for debug purposes
Error codes that VPP will return during a HW write.