diff options
author | andre <andre@FreeBSD.org> | 2006-06-18 14:24:12 +0000 |
---|---|---|
committer | andre <andre@FreeBSD.org> | 2006-06-18 14:24:12 +0000 |
commit | 2ca2d64333fe5c74a8cbfe2b7ebcbe9a24bf505d (patch) | |
tree | 8db717aa01081a2b1f1e2545f5a7cd9a76f224db /sys/netinet/tcp_seq.h | |
parent | 9a0a1c68845bc88e1b7600d635f8dcda0c45f0dc (diff) | |
download | FreeBSD-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/tcp_seq.h')
-rw-r--r-- | sys/netinet/tcp_seq.h | 13 |
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. |