X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=extras%2Fvom%2Fvom%2Fvxlan_tunnel.hpp;h=63124e7342603744ce8f1b5f86864e62df9cc8cd;hb=cf3ecb1a42c9c40f386ed59964117c3dab15fa5c;hp=136f0380e6dbd65af6762d9f387c4dc0c3012eb0;hpb=11312ef90b334c43966c057591c5a54750d911d2;p=vpp.git diff --git a/extras/vom/vom/vxlan_tunnel.hpp b/extras/vom/vom/vxlan_tunnel.hpp index 136f0380e6d..63124e73426 100644 --- a/extras/vom/vom/vxlan_tunnel.hpp +++ b/extras/vom/vom/vxlan_tunnel.hpp @@ -97,15 +97,10 @@ public: const boost::asio::ip::address& dst, uint32_t vni, const mode_t& mode = mode_t::STANDARD); - - /** - * Construct a new object matching the desried state with a handle - * read from VPP - */ - vxlan_tunnel(const handle_t& hdl, - const boost::asio::ip::address& src, + vxlan_tunnel(const boost::asio::ip::address& src, const boost::asio::ip::address& dst, uint32_t vni, + const interface& mcast_itf, const mode_t& mode = mode_t::STANDARD); /* @@ -220,6 +215,12 @@ private: */ mode_t m_mode; + /** + * The interface on which to send the packets if the destination + * is multicast + */ + std::shared_ptr m_mcast_itf; + /** * Construct a unique name for the tunnel */