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;
Error codes that VPP will return during a HW write.
A functor class that binds the igmp group to the interface.
A representation of the connection to VPP.
vl_api_ip4_address_t saddrs[n_srcs]
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.
A base class for all RPC commands to VPP.
A cmd class that Unbinds igmp group from an interface.
vl_api_ip4_address_t gaddr
std::set< boost::asio::ip::address_v4 > src_addrs_t
sll srl srl sll sra u16x4 i
A type declaration of an interface handle in VPP.
A cmd class that Dumps all the igmp configs.
rc_t issue(connection &con)
Issue the command to VPP/HW.
The VPP Object Model (VOM) library.
bool operator==(const listen_cmd &i) const
Comparison operator - only used for UT.
A base class for VPP dump commands.
std::string to_string() const
convert to string format for debug purposes
HW::item< bool > & item()
return the HW item the command updates