Go to the source code of this file.
|
#define | SEQ_LT(a, b) ((int)((a)-(b)) < 0) |
|
#define | SEQ_LEQ(a, b) ((int)((a)-(b)) <= 0) |
|
#define | SEQ_GT(a, b) ((int)((a)-(b)) > 0) |
|
#define | SEQ_GEQ(a, b) ((int)((a)-(b)) >= 0) |
|
#define | TSTMP_LT(a, b) ((int)((a)-(b)) < 0) |
|
#define | TSTMP_GEQ(a, b) ((int)((a)-(b)) >= 0) |
|
#define | CC_LT(a, b) ((int)((a)-(b)) < 0) |
|
#define | CC_LEQ(a, b) ((int)((a)-(b)) <= 0) |
|
#define | CC_GT(a, b) ((int)((a)-(b)) > 0) |
|
#define | CC_GEQ(a, b) ((int)((a)-(b)) >= 0) |
|
#define | CC_INC(c) (++(c) == 0 ? ++(c) : (c)) |
|
#define | tcp_rcvseqinit(tp) (tp)->rcv_adv = (tp)->rcv_nxt = (tp)->irs + 1 |
|
#define | tcp_sendseqinit(tp) |
|
#define | TCP_PAWS_IDLE (uint32_t)(24L * 24L * 60L * 60L * PR_SLOWHZ) |
|
#define | TCP_ISSINCR (250*1024) /* increment for tcp_iss each second */ |
|
◆ tcp_sendseqinit
#define tcp_sendseqinit |
( |
|
tp | ) |
|
Value:(tp)->snd_una = (tp)->snd_nxt = (tp)->snd_max = (tp)->snd_up = \
(tp)->iss