|
FD.io VPP
v21.06-3-gbb25fbf28
Vector Packet Processing
|
Go to the documentation of this file.
16 #ifndef __VOM_TAP_INTERFACE_CMDS_H__
17 #define __VOM_TAP_INTERFACE_CMDS_H__
24 #include <vapi/interface.api.vapi.hpp>
25 #include <vapi/tapv2.api.vapi.hpp>
28 namespace tap_interface_cmds {
The VPP Object Model (VOM) library.
std::string to_string() const
convert to string format for debug purposes
tapv2_delete_cmd(HW::item< handle_t > &item)
Base class for intterface Delete commands.
A cmd class that Dumps all the Vpp Interfaces.
A functor class that deletes a Tap interface.
rc_t issue(connection &con)
Issue the command to VPP/HW.
tapv2_dump_cmd()
Default Constructor.
A representation of the connection to VPP.
std::string to_string() const
convert to string format for debug purposes
sll srl srl sll sra u16x4 i
A functor class that creates an interface.
A base class for interface Create commands.
Type def of a L2 address as read from VPP.
HW::item< handle_t > & item()
return the HW item the command updates
rc_t issue(connection &con)
Issue the command to VPP/HW.
tapv2_create_cmd(HW::item< handle_t > &item, const std::string &name, const route::prefix_t &prefix, const l2_address_t &l2_address)
rc_t issue(connection &con)
Issue the command to VPP/HW.
std::string to_string() const
convert to string format for debug purposes
Error codes that VPP will return during a HW write.
A base class for VPP dump commands.
bool operator==(const tapv2_dump_cmd &i) const
Comparison operator - only used for UT.