diff options
-rw-r--r-- | sys/netinet/tcp_subr.c | 4 | ||||
-rw-r--r-- | sys/netinet/tcp_var.h | 4 |
2 files changed, 5 insertions, 3 deletions
diff --git a/sys/netinet/tcp_subr.c b/sys/netinet/tcp_subr.c index 7c1764ab993..15d34f607bf 100644 --- a/sys/netinet/tcp_subr.c +++ b/sys/netinet/tcp_subr.c @@ -1,4 +1,4 @@ -/* $OpenBSD: tcp_subr.c,v 1.26 2000/06/03 13:04:39 itojun Exp $ */ +/* $OpenBSD: tcp_subr.c,v 1.27 2000/06/26 22:45:09 art Exp $ */ /* $NetBSD: tcp_subr.c,v 1.22 1996/02/13 23:44:00 christos Exp $ */ /* @@ -123,6 +123,8 @@ int tcbhashsize = TCBHASHSIZE; extern int ip6_defhlim; #endif /* INET6 */ +struct tcpstat tcpstat; /* tcp statistics */ + /* * Tcp initialization */ diff --git a/sys/netinet/tcp_var.h b/sys/netinet/tcp_var.h index 2b46e6f3323..5f4e65b20ee 100644 --- a/sys/netinet/tcp_var.h +++ b/sys/netinet/tcp_var.h @@ -1,4 +1,4 @@ -/* $OpenBSD: tcp_var.h,v 1.27 2000/06/18 04:42:43 beck Exp $ */ +/* $OpenBSD: tcp_var.h,v 1.28 2000/06/26 22:45:09 art Exp $ */ /* $NetBSD: tcp_var.h,v 1.17 1996/02/13 23:44:24 christos Exp $ */ /* @@ -312,7 +312,7 @@ struct tcp_ident_mapping { #ifdef _KERNEL struct inpcbtable tcbtable; /* head of queue of active tcpcb's */ -struct tcpstat tcpstat; /* tcp statistics */ +extern struct tcpstat tcpstat; /* tcp statistics */ u_int32_t tcp_now; /* for RFC 1323 timestamps */ extern int tcp_do_rfc1323; /* enabled/disabled? */ extern int tcp_mssdflt; /* default maximum segment size */ |