summaryrefslogtreecommitdiff
path: root/node/Packet.hpp
diff options
context:
space:
mode:
authorAdam Ierymenko <adam.ierymenko@gmail.com>2013-07-10 17:24:27 -0400
committerAdam Ierymenko <adam.ierymenko@gmail.com>2013-07-10 17:24:27 -0400
commit9e28bbfbb2671f71527e76dd20fe4a659109ad4b (patch)
tree8017270bb4dfc7570c40797d73b02df7d37b99d9 /node/Packet.hpp
parent47f611e7b8d2ff95a3ff795574798b4e24a6719d (diff)
downloadinfinitytier-9e28bbfbb2671f71527e76dd20fe4a659109ad4b.tar.gz
infinitytier-9e28bbfbb2671f71527e76dd20fe4a659109ad4b.zip
Factored out multicast propagation algorithm from Switch and Topology, also cleaned up and clarified it a bit.
Diffstat (limited to 'node/Packet.hpp')
-rw-r--r--node/Packet.hpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/node/Packet.hpp b/node/Packet.hpp
index 914fac84..05b4ef41 100644
--- a/node/Packet.hpp
+++ b/node/Packet.hpp
@@ -122,7 +122,9 @@
*/
#define ZT_PROTO_MIN_FRAGMENT_LENGTH ZT_PACKET_FRAGMENT_IDX_PAYLOAD
+// Size of bloom filter used in multicast propagation
#define ZT_PROTO_VERB_MULTICAST_FRAME_BLOOM_FILTER_SIZE 32
+#define ZT_PROTO_VERB_MULTICAST_FRAME_BLOOM_FILTER_SIZE_BITS 256
// Field incides for parsing verbs
#define ZT_PROTO_VERB_HELLO_IDX_PROTOCOL_VERSION (ZT_PACKET_IDX_PAYLOAD)
@@ -419,7 +421,7 @@ public:
* <[4] multicast additional distinguishing information (ADI)>
* <[32] multicast propagation bloom filter>
* <[1] 8-bit strict propagation hop count>
- * <[2] 16-bit average peer multicast bandwidth load>
+ * <[2] reserved, must be 0>
* <[6] source Ethernet address>
* <[2] 16-bit ethertype>
* <[...] ethernet payload>