summaryrefslogtreecommitdiff
path: root/node/Multicaster.hpp
diff options
context:
space:
mode:
authorAdam Ierymenko <adam.ierymenko@gmail.com>2014-10-04 13:15:02 -0700
committerAdam Ierymenko <adam.ierymenko@gmail.com>2014-10-04 13:15:02 -0700
commit2c8321be1f6b0001912d336843a855dde3043adb (patch)
tree0501ce3e76ca481cfe305a05c028850f2880d1f2 /node/Multicaster.hpp
parent62da7e67b64712fc5cfce771ff944057abff705b (diff)
downloadinfinitytier-2c8321be1f6b0001912d336843a855dde3043adb.tar.gz
infinitytier-2c8321be1f6b0001912d336843a855dde3043adb.zip
Pull logic to always send new multicasts to supernode since we need to do that differently, re-add support for active bridges, and remove some gratuitous use of std::set where not needed.
Diffstat (limited to 'node/Multicaster.hpp')
-rw-r--r--node/Multicaster.hpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/node/Multicaster.hpp b/node/Multicaster.hpp
index 6c117a10..454f5c93 100644
--- a/node/Multicaster.hpp
+++ b/node/Multicaster.hpp
@@ -123,12 +123,13 @@ public:
/**
* Send a multicast
*
- * @param nwid Network ID
* @param com Certificate of membership to include or NULL for none
* @param limit Multicast limit
* @param now Current time
+ * @param nwid Network ID
+ * @param alwaysSendTo Send to these peers first and even if not included in subscriber list
* @param mg Multicast group
- * @param from Source Ethernet MAC address
+ * @param src Source Ethernet MAC address
* @param etherType Ethernet frame type
* @param data Packet data
* @param len Length of packet data
@@ -138,6 +139,7 @@ public:
unsigned int limit,
uint64_t now,
uint64_t nwid,
+ const std::vector<Address> &alwaysSendTo,
const MulticastGroup &mg,
const MAC &src,
unsigned int etherType,