summaryrefslogtreecommitdiff
path: root/node/Address.hpp
diff options
context:
space:
mode:
authorGrant Limberg <glimberg@gmail.com>2015-05-26 19:17:29 -0700
committerGrant Limberg <glimberg@gmail.com>2015-05-26 19:17:29 -0700
commit703c311e0729e170f48d00e23b7dce117700650d (patch)
tree4416a4acbcbcf1bf3d169c48466a122ef47a757e /node/Address.hpp
parent6e998efd15d0c0c85b8b605d84518cb7197a9086 (diff)
parente184aa4cb43151690959d895cba7d1f1bbc036fa (diff)
downloadinfinitytier-703c311e0729e170f48d00e23b7dce117700650d.tar.gz
infinitytier-703c311e0729e170f48d00e23b7dce117700650d.zip
Merge branch 'adamierymenko-dev' into android-jni
Diffstat (limited to 'node/Address.hpp')
-rw-r--r--node/Address.hpp17
1 files changed, 0 insertions, 17 deletions
diff --git a/node/Address.hpp b/node/Address.hpp
index 7548d56e..137e4f4f 100644
--- a/node/Address.hpp
+++ b/node/Address.hpp
@@ -167,23 +167,6 @@ public:
}
/**
- * Test whether this address is within a multicast propagation prefix
- *
- * Multicast propagation prefixes are (right-to-left a.k.a. LSB to MSB)
- * bit pattern prefixes of prefixBits bits that restrict which peers are
- * visited along a given multicast graph traversal path.
- *
- * @param prefix Prefix bit pattern (LSB to MSB)
- * @param prefixBits Number of bits in prefix bit pattern
- * @return True if address is within prefix
- */
- inline bool withinMulticastPropagationPrefix(uint64_t prefix,unsigned int prefixBits) const
- throw()
- {
- return ((_a & (0xffffffffffffffffULL >> (64 - prefixBits))) == prefix);
- }
-
- /**
* @return Hexadecimal string
*/
inline std::string toString() const