|
FD.io VPP
v21.06-3-gbb25fbf28
Vector Packet Processing
|
Go to the documentation of this file.
18 #include <vapi/ip6_nd.api.vapi.hpp>
25 msg_t req(
con.ctx(), std::ref(*
this));
27 auto& payload = req.get_request().get_payload();
28 payload.sw_if_index = m_itf.
value();
29 m_cls.to_vpp(payload);
41 msg_t req(
con.ctx(), std::ref(*
this));
43 auto& payload = req.get_request().get_payload();
44 payload.sw_if_index = m_itf.
value();
45 m_cls.to_vpp(payload);
60 msg_t req(
con.ctx(), std::ref(*
this));
62 auto& payload = req.get_request().get_payload();
63 payload.sw_if_index = m_itf.
value();
64 m_cls.to_vpp(payload);
76 msg_t req(
con.ctx(), std::ref(*
this));
78 auto& payload = req.get_request().get_payload();
79 payload.sw_if_index = m_itf.
value();
80 m_cls.to_vpp(payload);
rc_t wait()
Wait on the commands promise.
void set(const rc_t &rc)
Set the HW return code - should only be called from the family of Command objects.
The VPP Object Model (VOM) library.
const static rc_t OK
The HW write was successfull.
uint32_t value() const
get the value of the handle
HW::item< bool > & m_hw_item
A reference to an object's HW::item that the command will update.
#define VAPI_CALL(_stmt)
Convenince wrapper macro for error handling in VAPI sends.
A representation of the connection to VPP.
rc_t issue(connection &con)
Issue the command to VPP/HW.
const static rc_t NOOP
The HW write/update action was/has not been attempted.
CMD msg_t
convenient typedef
rc_t issue(connection &con)
Issue the command to VPP/HW.
Error codes that VPP will return during a HW write.