From d9abd4d9be7b160b531a995a20c91d430768fc72 Mon Sep 17 00:00:00 2001 From: Adam Ierymenko Date: Thu, 18 Sep 2014 18:28:14 -0700 Subject: Work on defining new direct broadcast multicast algorithm. --- node/Switch.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'node/Switch.cpp') diff --git a/node/Switch.cpp b/node/Switch.cpp index dd4aec21..22b698bf 100644 --- a/node/Switch.cpp +++ b/node/Switch.cpp @@ -151,6 +151,7 @@ void Switch::onLocalEthernet(const SharedPtr &network,const MAC &from,c TRACE("%s: MULTICAST %s -> %s %s %d",network->tapDeviceName().c_str(),from.toString().c_str(),mg.toString().c_str(),etherTypeName(etherType),(int)data.size()); + /* old P5 multicast algorithm const unsigned int mcid = ++_multicastIdCounter & 0xffffff; const uint16_t bloomNonce = (uint16_t)(_r->prng->next32() & 0xffff); // doesn't need to be cryptographically strong unsigned char bloom[ZT_PROTO_VERB_MULTICAST_FRAME_LEN_PROPAGATION_BLOOM]; @@ -226,6 +227,7 @@ void Switch::onLocalEthernet(const SharedPtr &network,const MAC &from,c outp.compress(); send(outp,true); } + */ return; } -- cgit v1.2.3