]> git.saurik.com Git - apple/xnu.git/blobdiff - bsd/netinet/tcp_seq.h
xnu-2050.24.15.tar.gz
[apple/xnu.git] / bsd / netinet / tcp_seq.h
index ac032da621f948eb6feb09fd3b0aacec7d596025..5eb5c3b936b87421e738f0d5a4303f22474f74a4 100644 (file)
@@ -79,6 +79,8 @@
 
 /* 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 * TCP_RETRANSHZ)
                                        /* timestamp wrap-around time */
 
 extern tcp_cc  tcp_ccgen;              /* global connection count */
-#endif KERNEL_PRIVATE
+#endif /* KERNEL_PRIVATE */
 #endif /* _NETINET_TCP_SEQ_H_ */