Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
VOM: vxlan-tunnel takes egress interface for multicast
[vpp.git]
/
extras
/
vom
/
vom
/
vxlan_tunnel.hpp
diff --git
a/extras/vom/vom/vxlan_tunnel.hpp
b/extras/vom/vom/vxlan_tunnel.hpp
index
136f038
..
63124e7
100644
(file)
--- 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);
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 boost::asio::ip::address& dst,
uint32_t vni,
+ const interface& mcast_itf,
const mode_t& mode = mode_t::STANDARD);
/*
const mode_t& mode = mode_t::STANDARD);
/*
@@
-220,6
+215,12
@@
private:
*/
mode_t m_mode;
*/
mode_t m_mode;
+ /**
+ * The interface on which to send the packets if the destination
+ * is multicast
+ */
+ std::shared_ptr<interface> m_mcast_itf;
+
/**
* Construct a unique name for the tunnel
*/
/**
* Construct a unique name for the tunnel
*/