|
FD.io VPP
v21.06-3-gbb25fbf28
Vector Packet Processing
|
Go to the documentation of this file.
16 #ifndef __VOM_IGMP_LISTEN_CMDS_H__
17 #define __VOM_IGMP_LISTEN_CMDS_H__
23 #include <vapi/igmp.api.vapi.hpp>
26 namespace igmp_listen_cmds {
39 const boost::asio::ip::address_v4&
gaddr,
65 const boost::asio::ip::address_v4& m_gaddr;
84 const boost::asio::ip::address_v4&
gaddr);
110 const boost::asio::ip::address_v4& m_gaddr;
The VPP Object Model (VOM) library.
unlisten_cmd(HW::item< bool > &item, const handle_t &itf, const boost::asio::ip::address_v4 &gaddr)
Constructor.
std::string to_string() const
convert to string format for debug purposes
A base class for all RPC commands to VPP.
std::string to_string() const
convert to string format for debug purposes
bool operator==(const dump_cmd &i) const
Comparison operator - only used for UT.
A functor class that binds the igmp group to the interface.
A cmd class that Dumps all the igmp configs.
rc_t issue(connection &con)
Issue the command to VPP/HW.
A cmd class that Unbinds igmp group from an interface.
A representation of the connection to VPP.
bool operator==(const unlisten_cmd &i) const
Comparison operator - only used for UT.
sll srl srl sll sra u16x4 i
bool operator==(const listen_cmd &i) const
Comparison operator - only used for UT.
A type declaration of an interface handle in VPP.
HW::item< bool > & item()
return the HW item the command updates
vl_api_ip4_address_t saddrs[n_srcs]
std::set< boost::asio::ip::address_v4 > src_addrs_t
vl_api_ip4_address_t gaddr
rc_t issue(connection &con)
Issue the command to VPP/HW.
rc_t issue(connection &con)
Issue the command to VPP/HW.
dump_cmd()
Default Constructor.
listen_cmd(HW::item< bool > &item, const handle_t &itf, const boost::asio::ip::address_v4 &gaddr, const igmp_listen::src_addrs_t &saddrs)
Constructor.
Error codes that VPP will return during a HW write.
A base class for VPP dump commands.
std::string to_string() const
convert to string format for debug purposes