summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Ierymenko <adam.ierymenko@gmail.com>2016-04-26 07:56:41 -0700
committerAdam Ierymenko <adam.ierymenko@gmail.com>2016-04-26 07:56:41 -0700
commit246f86dad356f660977617372cc9cc663111d821 (patch)
tree187a5d14a2d282e7d0ae77edae3583e78f97b791
parentd73607430131dd352cf9248f37e76c2618dd39e5 (diff)
downloadinfinitytier-246f86dad356f660977617372cc9cc663111d821.tar.gz
infinitytier-246f86dad356f660977617372cc9cc663111d821.zip
Define an "anchor" as a statically defined device that serves as a network lookup point.
-rw-r--r--include/ZeroTierOne.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/ZeroTierOne.h b/include/ZeroTierOne.h
index 75199195..8dd5962a 100644
--- a/include/ZeroTierOne.h
+++ b/include/ZeroTierOne.h
@@ -165,6 +165,11 @@ extern "C" {
#define ZT_NETWORK_STATIC_DEVICE_IS_RELAY 0x0001
/**
+ * This device is a network "anchor," meaning it is used for things like multicast GATHER
+ */
+#define ZT_NETWORK_STATIC_DEVICE_IS_ANCHOR 0x0002
+
+/**
* A null/empty sockaddr (all zero) to signify an unspecified socket address
*/
extern const struct sockaddr_storage ZT_SOCKADDR_NULL;