summaryrefslogtreecommitdiff
path: root/node/Constants.hpp
diff options
context:
space:
mode:
authorAdam Ierymenko <adam.ierymenko@gmail.com>2014-06-10 15:47:20 -0700
committerAdam Ierymenko <adam.ierymenko@gmail.com>2014-06-10 15:47:20 -0700
commit4e1f49258bd5ff2b87c313f7452775ad78ce53db (patch)
tree1a8ffea4590bfa2efc728ef5a4dce186ba82bdf2 /node/Constants.hpp
parentfb31f93c5295752b5a07d742dae397654c6c8f67 (diff)
downloadinfinitytier-4e1f49258bd5ff2b87c313f7452775ad78ce53db.tar.gz
infinitytier-4e1f49258bd5ff2b87c313f7452775ad78ce53db.zip
Bridging in NetworkConfig - GitHub Issue #68
Diffstat (limited to 'node/Constants.hpp')
-rw-r--r--node/Constants.hpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/node/Constants.hpp b/node/Constants.hpp
index 6d1ade22..37a3b3a9 100644
--- a/node/Constants.hpp
+++ b/node/Constants.hpp
@@ -109,6 +109,11 @@ error_no_byte_order_defined;
#define ZT_ADDRESS_LENGTH 5
/**
+ * Length of a hexadecimal ZeroTier address
+ */
+#define ZT_ADDRESS_LENGTH_HEX 10
+
+/**
* Addresses beginning with this byte are reserved for the joy of in-band signaling
*/
#define ZT_ADDRESS_RESERVED_PREFIX 0xff