1
0
mirror of https://github.com/openbsd/src.git synced 2025-01-10 06:47:55 -08:00

Make the definition of tcpstat in tcp_var.h extern.

This commit is contained in:
art 2000-06-26 22:45:09 +00:00
parent 8d302f0e78
commit 3a11fd2794
2 changed files with 5 additions and 3 deletions

View File

@ -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
*/

View File

@ -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 */