summaryrefslogtreecommitdiffstats
path: root/sys/netinet
diff options
context:
space:
mode:
authorandre <andre@FreeBSD.org>2006-06-18 14:24:12 +0000
committerandre <andre@FreeBSD.org>2006-06-18 14:24:12 +0000
commit2ca2d64333fe5c74a8cbfe2b7ebcbe9a24bf505d (patch)
tree8db717aa01081a2b1f1e2545f5a7cd9a76f224db /sys/netinet
parent9a0a1c68845bc88e1b7600d635f8dcda0c45f0dc (diff)
downloadFreeBSD-src-2ca2d64333fe5c74a8cbfe2b7ebcbe9a24bf505d.zip
FreeBSD-src-2ca2d64333fe5c74a8cbfe2b7ebcbe9a24bf505d.tar.gz
Remove T/TCP RFC1644 Connection Count comparison macros. They are no longer
used and needed. Sponsored by: TCP/IP Optimization Fundraise 2005
Diffstat (limited to 'sys/netinet')
-rw-r--r--sys/netinet/tcp_seq.h13
1 files changed, 0 insertions, 13 deletions
diff --git a/sys/netinet/tcp_seq.h b/sys/netinet/tcp_seq.h
index 7f46201..f58b537 100644
--- a/sys/netinet/tcp_seq.h
+++ b/sys/netinet/tcp_seq.h
@@ -51,19 +51,6 @@
#define TSTMP_GEQ(a,b) ((int)((a)-(b)) >= 0)
/*
- * TCP connection counts are 32 bit integers operated
- * on with modular arithmetic. These macros can be
- * used to compare such integers.
- */
-#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)
-
-/* Macro to increment a CC: skip 0 which has a special meaning */
-#define CC_INC(c) (++(c) == 0 ? ++(c) : (c))
-
-/*
* Macros to initialize tcp sequence numbers for
* send and receive from initial send and receive
* sequence numbers.
OpenPOWER on IntegriCloud