summaryrefslogtreecommitdiffstats
path: root/sys/netinet/tcp_seq.h
diff options
context:
space:
mode:
authorwollman <wollman@FreeBSD.org>1995-02-14 02:35:19 +0000
committerwollman <wollman@FreeBSD.org>1995-02-14 02:35:19 +0000
commit58747a550704678cdf874a876ebf30fd90eaa80a (patch)
treeba9ca06397280353fe275c3813d236d509a49403 /sys/netinet/tcp_seq.h
parentab14a440443e93831ee428f1d1b624427878010f (diff)
downloadFreeBSD-src-58747a550704678cdf874a876ebf30fd90eaa80a.zip
FreeBSD-src-58747a550704678cdf874a876ebf30fd90eaa80a.tar.gz
Get rid of some unneeded #ifdef TTCP lines. Also, get rid of some
bogus commons declared in header files.
Diffstat (limited to 'sys/netinet/tcp_seq.h')
-rw-r--r--sys/netinet/tcp_seq.h10
1 files changed, 3 insertions, 7 deletions
diff --git a/sys/netinet/tcp_seq.h b/sys/netinet/tcp_seq.h
index 257e417..6f0532f 100644
--- a/sys/netinet/tcp_seq.h
+++ b/sys/netinet/tcp_seq.h
@@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* @(#)tcp_seq.h 8.1 (Berkeley) 6/10/93
- * $Id: tcp_seq.h,v 1.3 1994/08/21 05:27:37 paul Exp $
+ * $Id: tcp_seq.h,v 1.4 1995/02/08 20:18:46 wollman Exp $
*/
#ifndef _NETINET_TCP_SEQ_H_
@@ -50,7 +50,6 @@
#define TSTMP_LT(a,b) ((int)((a)-(b)) < 0)
#define TSTMP_GEQ(a,b) ((int)((a)-(b)) >= 0)
-#ifdef TTCP
/*
* TCP connection counts are 32 bit integers operated
* on with modular arithmetic. These macros can be
@@ -63,7 +62,6 @@
/* Macro to increment a CC: skip 0 which has a special meaning */
#define CC_INC(c) (++(c) == 0 ? ++(c) : (c))
-#endif
/*
* Macros to initialize tcp sequence numbers for
@@ -83,9 +81,7 @@
/* timestamp wrap-around time */
#ifdef KERNEL
-tcp_seq tcp_iss; /* tcp initial send seq # */
-#ifdef TTCP
-tcp_cc tcp_ccgen; /* global connection count */
-#endif
+extern tcp_seq tcp_iss; /* tcp initial send seq # */
+extern tcp_cc tcp_ccgen; /* global connection count */
#endif
#endif
OpenPOWER on IntegriCloud