/* for modulo comparisons of timestamps */
#define TSTMP_LT(a,b) ((int)((a)-(b)) < 0)
+#define TSTMP_GT(a,b) ((int)((a)-(b)) > 0)
+#define TSTMP_LEQ(a,b) ((int)((a)-(b)) <= 0)
#define TSTMP_GEQ(a,b) ((int)((a)-(b)) >= 0)
/*
#define tcp_sendseqinit(tp) \
(tp)->snd_una = (tp)->snd_nxt = (tp)->snd_max = (tp)->snd_up = \
- (tp)->snd_recover = (tp)->snd_high = (tp)->iss
+ (tp)->snd_recover = (tp)->iss
-#define TCP_PAWS_IDLE (24 * 24 * 60 * 60 * PR_SLOWHZ)
- /* timestamp wrap-around time */
-
-extern tcp_cc tcp_ccgen; /* global connection count */
-#endif KERNEL_PRIVATE
+#define TCP_PAWS_IDLE (24 * 24 * 60 * 60 * TCP_RETRANSHZ)
+/* timestamp wrap-around time */
+#endif /* KERNEL_PRIVATE */
#endif /* _NETINET_TCP_SEQ_H_ */