diff options
author | Doug Rabson <dfr@FreeBSD.org> | 1999-02-16 10:49:55 +0000 |
---|---|---|
committer | Doug Rabson <dfr@FreeBSD.org> | 1999-02-16 10:49:55 +0000 |
commit | ce02431ffafa566f9c73b08cd91a3f5b12ff443e (patch) | |
tree | 89ce394b74486e2406d5e017bd9e369a6dcbc81b /sys/netinet/tcp_var.h | |
parent | d207e2138aa6df3717005151a3c333a96cf7aa4c (diff) | |
download | src-ce02431ffafa566f9c73b08cd91a3f5b12ff443e.tar.gz src-ce02431ffafa566f9c73b08cd91a3f5b12ff443e.zip |
* Change sysctl from using linker_set to construct its tree using SLISTs.
This makes it possible to change the sysctl tree at runtime.
* Change KLD to find and register any sysctl nodes contained in the loaded
file and to unregister them when the file is unloaded.
Reviewed by: Archie Cobbs <archie@whistle.com>,
Peter Wemm <peter@netplex.com.au> (well they looked at it anyway)
Notes
Notes:
svn path=/head/; revision=44078
Diffstat (limited to 'sys/netinet/tcp_var.h')
-rw-r--r-- | sys/netinet/tcp_var.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/sys/netinet/tcp_var.h b/sys/netinet/tcp_var.h index db4f401a060d..e2c448a3cea4 100644 --- a/sys/netinet/tcp_var.h +++ b/sys/netinet/tcp_var.h @@ -31,7 +31,7 @@ * SUCH DAMAGE. * * @(#)tcp_var.h 8.4 (Berkeley) 5/24/95 - * $Id: tcp_var.h,v 1.48 1998/08/24 07:47:39 dfr Exp $ + * $Id: tcp_var.h,v 1.49 1999/01/20 17:32:00 fenner Exp $ */ #ifndef _NETINET_TCP_VAR_H_ @@ -322,7 +322,12 @@ struct xtcpcb { { "pcblist", CTLTYPE_STRUCT }, \ } + #ifdef KERNEL +#ifdef SYSCTL_DECL +SYSCTL_DECL(_net_inet_tcp); +#endif + extern struct inpcbhead tcb; /* head of queue of active tcpcb's */ extern struct inpcbinfo tcbinfo; extern struct tcpstat tcpstat; /* tcp statistics */ |