mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-04-18 04:56:55 +02:00
Add TCP relative sequence number criterion for documentation/posterity.
This commit is contained in:
parent
8b9519f0af
commit
37b89b3944
1 changed files with 11 additions and 1 deletions
|
@ -500,7 +500,12 @@ enum ZT_VirtualNetworkRuleType
|
|||
/**
|
||||
* Frame size range (start-end, inclusive)
|
||||
*/
|
||||
ZT_NETWORK_RULE_MATCH_FRAME_SIZE_RANGE = 49
|
||||
ZT_NETWORK_RULE_MATCH_FRAME_SIZE_RANGE = 49,
|
||||
|
||||
/**
|
||||
* Match a range of relative TCP sequence numbers (e.g. approx first N bytes of stream)
|
||||
*/
|
||||
ZT_NETWORK_RULE_MATCH_TCP_RELATIVE_SEQUENCE_NUMBER_RANGE = 50
|
||||
};
|
||||
|
||||
/**
|
||||
|
@ -562,6 +567,11 @@ typedef struct
|
|||
*/
|
||||
uint16_t port[2];
|
||||
|
||||
/**
|
||||
* TCP relative sequence number range -- start-end inclusive -- host byte order
|
||||
*/
|
||||
uint32_t tcpseq[2];
|
||||
|
||||
/**
|
||||
* 40-bit ZeroTier address (in least significant bits, host byte order)
|
||||
*/
|
||||
|
|
Loading…
Add table
Reference in a new issue