瀏覽代碼

Define an "anchor" as a statically defined device that serves as a network lookup point.

Adam Ierymenko 9 年之前
父節點
當前提交
246f86dad3
共有 1 個文件被更改,包括 5 次插入0 次删除
  1. 5 0
      include/ZeroTierOne.h

+ 5 - 0
include/ZeroTierOne.h

@@ -164,6 +164,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
  */