summaryrefslogtreecommitdiff
path: root/node/Multicaster.hpp
diff options
context:
space:
mode:
authorAdam Ierymenko <adam.ierymenko@gmail.com>2014-09-26 14:18:25 -0700
committerAdam Ierymenko <adam.ierymenko@gmail.com>2014-09-26 14:18:25 -0700
commited0ba4950238c74e2b0115410e0e37b49dd5f26a (patch)
tree0b830183b5dfa42b40ed1a015a6fdafecd26bc5a /node/Multicaster.hpp
parent2d41055bdce886722d1b6a355559862016ac964c (diff)
downloadinfinitytier-ed0ba4950238c74e2b0115410e0e37b49dd5f26a.tar.gz
infinitytier-ed0ba4950238c74e2b0115410e0e37b49dd5f26a.zip
A few more revisions to new multicast verbs.
Diffstat (limited to 'node/Multicaster.hpp')
-rw-r--r--node/Multicaster.hpp14
1 files changed, 13 insertions, 1 deletions
diff --git a/node/Multicaster.hpp b/node/Multicaster.hpp
index 03f5f52d..9abf9c30 100644
--- a/node/Multicaster.hpp
+++ b/node/Multicaster.hpp
@@ -46,6 +46,7 @@
namespace ZeroTier {
class RuntimeEnvironment;
+class CertificateOfMembership;
/**
* Database of known multicast peers within a network
@@ -100,6 +101,7 @@ public:
*
* @param RR Runtime environment
* @param nwid Network ID
+ * @param com Certificate of membership to include or NULL for none
* @param limit Multicast limit
* @param now Current time
* @param mg Multicast group
@@ -108,7 +110,17 @@ public:
* @param data Packet data
* @param len Length of packet data
*/
- void send(const RuntimeEnvironment *RR,uint64_t nwid,unsigned int limit,uint64_t now,const MulticastGroup &mg,const MAC &src,unsigned int etherType,const void *data,unsigned int len);
+ void send(
+ const RuntimeEnvironment *RR,
+ uint64_t nwid,
+ const CertificateOfMembership *com,
+ unsigned int limit,
+ uint64_t now,
+ const MulticastGroup &mg,
+ const MAC &src,
+ unsigned int etherType,
+ const void *data,
+ unsigned int len);
/**
* Clean up and resort database