summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAdam Ierymenko <adam.ierymenko@gmail.com>2017-02-23 12:34:17 -0800
committerAdam Ierymenko <adam.ierymenko@gmail.com>2017-02-23 12:34:17 -0800
commit72653e54f951b2a47686d420186f59f533542940 (patch)
treed404273e2a6a5cf5f29a403a0e9ebaeb4e18137e /include
parent10185e92faa77a4b032a27a7c01b4186727b91b9 (diff)
downloadinfinitytier-72653e54f951b2a47686d420186f59f533542940.tar.gz
infinitytier-72653e54f951b2a47686d420186f59f533542940.zip
Finish wiring up ipauth and macauth to Network filter.
Diffstat (limited to 'include')
-rw-r--r--include/ZeroTierOne.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/include/ZeroTierOne.h b/include/ZeroTierOne.h
index c1dbd8f8..ddd0b404 100644
--- a/include/ZeroTierOne.h
+++ b/include/ZeroTierOne.h
@@ -195,6 +195,16 @@ extern "C" {
#define ZT_RULE_PACKET_CHARACTERISTICS_BROADCAST 0x2000000000000000ULL
/**
+ * Packet characteristics flag: sending IP address has a certificate of ownership
+ */
+#define ZT_RULE_PACKET_CHARACTERISTICS_SENDER_IP_AUTHENTICATED 0x1000000000000000ULL
+
+/**
+ * Packet characteristics flag: sending MAC address has a certificate of ownership
+ */
+#define ZT_RULE_PACKET_CHARACTERISTICS_SENDER_MAC_AUTHENTICATED 0x0800000000000000ULL
+
+/**
* Packet characteristics flag: TCP left-most reserved bit
*/
#define ZT_RULE_PACKET_CHARACTERISTICS_TCP_RESERVED_0 0x0000000000000800ULL