Remove T/TCP RFC1644 Connection Count comparison macros. They are no longer

used and needed.

Sponsored by:   TCP/IP Optimization Fundraise 2005
This commit is contained in:
andre 2006-06-18 14:24:12 +00:00
parent 9a0a1c6884
commit 2ca2d64333

View File

@ -50,19 +50,6 @@
#define TSTMP_GT(a,b) ((int)((a)-(b)) > 0)
#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