summaryrefslogtreecommitdiff
path: root/include/ZeroTierOne.h
diff options
context:
space:
mode:
authorJoseph Henry <josephjah@gmail.com>2018-07-11 16:55:13 -0700
committerJoseph Henry <josephjah@gmail.com>2018-07-11 16:55:13 -0700
commit65b0030342704cdbace07693a22d3e8048f7f244 (patch)
tree6f4b2e72fc2d5a27c3e2ba286cf2c3a782b68aa2 /include/ZeroTierOne.h
parentf302fac423db6cc0e5e8c1758a74a7d7b7d8bf04 (diff)
downloadinfinitytier-65b0030342704cdbace07693a22d3e8048f7f244.tar.gz
infinitytier-65b0030342704cdbace07693a22d3e8048f7f244.zip
Added basic QoS rule handling
Diffstat (limited to 'include/ZeroTierOne.h')
-rw-r--r--include/ZeroTierOne.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/include/ZeroTierOne.h b/include/ZeroTierOne.h
index 5b228e17..e4157b96 100644
--- a/include/ZeroTierOne.h
+++ b/include/ZeroTierOne.h
@@ -745,6 +745,11 @@ enum ZT_VirtualNetworkRuleType
ZT_NETWORK_RULE_ACTION_BREAK = 5,
/**
+ * Place a matching frame in the specified QoS bucket
+ */
+ ZT_NETWORK_RULE_ACTION_PRIORITY = 6,
+
+ /**
* Maximum ID for an ACTION, anything higher is a MATCH
*/
ZT_NETWORK_RULE_ACTION__MAX_ID = 15,
@@ -934,6 +939,11 @@ typedef struct
uint32_t flags;
uint16_t length;
} fwd;
+
+ /**
+ * Quality of Service (QoS) bucket we want a frame to be placed in
+ */
+ uint8_t qosBucket;
} v;
} ZT_VirtualNetworkRule;