Added basic QoS rule handling

This commit is contained in:
Joseph Henry 2018-07-11 16:55:13 -07:00
parent f302fac423
commit 65b0030342
3 changed files with 21 additions and 2 deletions

View file

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