|
FD.io VPP
v21.06-3-gbb25fbf28
Vector Packet Processing
|
Go to the documentation of this file.
16 #ifndef __VOM_HW_CMDS_H__
17 #define __VOM_HW_CMDS_H__
20 #include <vapi/vpe.api.vapi.hpp>
30 class poll :
public rpc_cmd<HW::item<bool>, vapi::Control_ping>
std::string to_string() const
convert to string format for debug purposes
The VPP Object Model (VOM) library.
A base class for all RPC commands to VPP.
bool operator==(const poll &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
HW::item< bool > & item()
return the HW item the command updates
A command poll the HW for liveness.
poll(HW::item< bool > &item)
Constructor taking the HW::item to update.
Error codes that VPP will return during a HW write.