diff options
| author | Adam Ierymenko <adam.ierymenko@gmail.com> | 2014-09-26 14:18:25 -0700 |
|---|---|---|
| committer | Adam Ierymenko <adam.ierymenko@gmail.com> | 2014-09-26 14:18:25 -0700 |
| commit | ed0ba4950238c74e2b0115410e0e37b49dd5f26a (patch) | |
| tree | 0b830183b5dfa42b40ed1a015a6fdafecd26bc5a /node/OutboundMulticast.hpp | |
| parent | 2d41055bdce886722d1b6a355559862016ac964c (diff) | |
| download | infinitytier-ed0ba4950238c74e2b0115410e0e37b49dd5f26a.tar.gz infinitytier-ed0ba4950238c74e2b0115410e0e37b49dd5f26a.zip | |
A few more revisions to new multicast verbs.
Diffstat (limited to 'node/OutboundMulticast.hpp')
| -rw-r--r-- | node/OutboundMulticast.hpp | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/node/OutboundMulticast.hpp b/node/OutboundMulticast.hpp index 63967263..8d717fc1 100644 --- a/node/OutboundMulticast.hpp +++ b/node/OutboundMulticast.hpp @@ -42,6 +42,7 @@ namespace ZeroTier { class Switch; +class CertificateOfMembership; /** * An outbound multicast packet @@ -64,6 +65,7 @@ public: * @param timestamp Creation time * @param self My ZeroTier address * @param nwid Network ID + * @param com Certificate of membership to attach or NULL to omit * @param gatherLimit Number to lazily/implicitly gather with this frame or 0 for none * @param src Source MAC address of frame * @param dest Destination multicast group (MAC + ADI) @@ -72,7 +74,17 @@ public: * @param len Length of data * @throws std::out_of_range Data too large to fit in a MULTICAST_FRAME */ - void init(uint64_t timestamp,const Address &self,uint64_t nwid,unsigned int gatherLimit,const MAC &src,const MulticastGroup &dest,unsigned int etherType,const void *payload,unsigned int len); + void init( + uint64_t timestamp, + const Address &self, + uint64_t nwid, + const CertificateOfMembership *com, + unsigned int gatherLimit, + const MAC &src, + const MulticastGroup &dest, + unsigned int etherType, + const void *payload, + unsigned int len); /** * @return Multicast creation time |
