forked from nuttx/nuttx-update
tcp.h: Add TCP_SEQ_ADD
This commit is contained in:
parent
022a2490d1
commit
eeafe070ec
1 changed files with 1 additions and 0 deletions
|
@ -93,6 +93,7 @@
|
|||
#define TCP_SEQ_LTE(a, b) (!TCP_SEQ_GT(a, b))
|
||||
#define TCP_SEQ_GTE(a, b) (!TCP_SEQ_LT(a, b))
|
||||
|
||||
#define TCP_SEQ_ADD(a, b) ((uint32_t)((a) + (b)))
|
||||
#define TCP_SEQ_SUB(a, b) ((uint32_t)((a) - (b)))
|
||||
|
||||
/****************************************************************************
|
||||
|
|
Loading…
Reference in a new issue