Add a mask and value range to the IP tos rule field. This allows TOS to be matched more usefully. This will break anyone using tos in the beta, but nobody seems to be and its pre-release so now is the time.

This commit is contained in:
Adam Ierymenko 2017-02-07 09:33:39 -08:00
commit 672f17c6e9
4 changed files with 22 additions and 9 deletions

View file

@ -705,7 +705,10 @@ typedef struct
/**
* IP type of service a.k.a. DSCP field
*/
uint8_t ipTos;
struct {
uint8_t mask;
uint8_t value[2];
} ipTos;
/**
* Ethernet packet size in host byte order (start-end, inclusive)