summaryrefslogtreecommitdiff
path: root/node/NetworkConfig.hpp
diff options
context:
space:
mode:
authorAdam Ierymenko <adam.ierymenko@gmail.com>2016-09-01 12:07:17 -0700
committerAdam Ierymenko <adam.ierymenko@gmail.com>2016-09-01 12:07:17 -0700
commit8b6d23b9f6bdb9f2d831a0e43a189a10a57f7359 (patch)
treea44b6a62b03a5fc47a5f9c309a37312eead32aa6 /node/NetworkConfig.hpp
parent25056de5d3845370366114782d2611ca9a139042 (diff)
downloadinfinitytier-8b6d23b9f6bdb9f2d831a0e43a189a10a57f7359.tar.gz
infinitytier-8b6d23b9f6bdb9f2d831a0e43a189a10a57f7359.zip
Optimize filter code a bit, and add a network-level setting for what should happen if an unsupported or unknown MATCH is encountered in a rules table.
Diffstat (limited to 'node/NetworkConfig.hpp')
-rw-r--r--node/NetworkConfig.hpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/node/NetworkConfig.hpp b/node/NetworkConfig.hpp
index 67126d64..e2bacb07 100644
--- a/node/NetworkConfig.hpp
+++ b/node/NetworkConfig.hpp
@@ -72,6 +72,11 @@
#define ZT_NETWORKCONFIG_FLAG_ENABLE_IPV6_NDP_EMULATION 0x0000000000000004ULL
/**
+ * Flag: result of unrecognized MATCH entries in a rules table: match if set, no-match if clear
+ */
+#define ZT_NETWORKCONFIG_FLAG_RULES_RESULT_OF_UNSUPPORTED_MATCH 0x0000000000000008ULL
+
+/**
* Device is an active bridge
*/
#define ZT_NETWORKCONFIG_SPECIALIST_TYPE_ACTIVE_BRIDGE 0x0000020000000000ULL