RTEMS CPU Kit with SuperCore  4.11.3
Macros
tcp_seq.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#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 */
 

Macro Definition Documentation

◆ tcp_sendseqinit

#define tcp_sendseqinit (   tp)
Value:
(tp)->snd_una = (tp)->snd_nxt = (tp)->snd_max = (tp)->snd_up = \
(tp)->iss