diff options
| author | Adam Ierymenko <adam.ierymenko@gmail.com> | 2014-10-02 11:35:37 -0700 |
|---|---|---|
| committer | Adam Ierymenko <adam.ierymenko@gmail.com> | 2014-10-02 11:35:37 -0700 |
| commit | 49dc47ff38ff27fd8f846a4a6354a60423376671 (patch) | |
| tree | ad07f38721f9b47cfcd488a4f22e117e9f1dd605 /node/Multicaster.hpp | |
| parent | dee86e2448725d4ac592816cac504e5d43fcb026 (diff) | |
| download | infinitytier-49dc47ff38ff27fd8f846a4a6354a60423376671.tar.gz infinitytier-49dc47ff38ff27fd8f846a4a6354a60423376671.zip | |
Make multicast gathering a bit smarter.
Diffstat (limited to 'node/Multicaster.hpp')
| -rw-r--r-- | node/Multicaster.hpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/node/Multicaster.hpp b/node/Multicaster.hpp index 96207aa0..ae62456c 100644 --- a/node/Multicaster.hpp +++ b/node/Multicaster.hpp @@ -92,7 +92,7 @@ public: * @param learnedFrom Address from which we learned this member or NULL/0 Address if direct * @param member New member address */ - inline void subscribe(uint64_t now,uint64_t nwid,const MulticastGroup &mg,const Address &learnedFrom,const Address &member) + inline void add(uint64_t now,uint64_t nwid,const MulticastGroup &mg,const Address &learnedFrom,const Address &member) { Mutex::Lock _l(_groups_m); _add(now,nwid,_groups[std::pair<uint64_t,MulticastGroup>(nwid,mg)],learnedFrom,member); @@ -124,7 +124,6 @@ public: * @param nwid Network ID * @param com Certificate of membership to include or NULL for none * @param limit Multicast limit - * @param gatherLimit Limit to pass for implicit gather with MULTICAST_FRAME * @param now Current time * @param mg Multicast group * @param from Source Ethernet MAC address @@ -135,7 +134,6 @@ public: void send( const CertificateOfMembership *com, unsigned int limit, - unsigned int gatherLimit, uint64_t now, uint64_t nwid, const MulticastGroup &mg, |
