diff options
author | dfr <dfr@FreeBSD.org> | 1999-02-16 10:49:55 +0000 |
---|---|---|
committer | dfr <dfr@FreeBSD.org> | 1999-02-16 10:49:55 +0000 |
commit | 22ceb237f0acde5a7f56b22bcbec381eb41db3f8 (patch) | |
tree | 7ff504a77dea2abe8ecf3178beb55d9d3592a1b9 /sys/netinet/in_proto.c | |
parent | a90ae0fb61f0e918e3cafba8d21edfe5a29559b9 (diff) | |
download | FreeBSD-src-22ceb237f0acde5a7f56b22bcbec381eb41db3f8.zip FreeBSD-src-22ceb237f0acde5a7f56b22bcbec381eb41db3f8.tar.gz |
* 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)
Diffstat (limited to 'sys/netinet/in_proto.c')
-rw-r--r-- | sys/netinet/in_proto.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/netinet/in_proto.c b/sys/netinet/in_proto.c index 2976056..083d10b 100644 --- a/sys/netinet/in_proto.c +++ b/sys/netinet/in_proto.c @@ -31,7 +31,7 @@ * SUCH DAMAGE. * * @(#)in_proto.c 8.2 (Berkeley) 2/9/95 - * $Id: in_proto.c,v 1.46 1998/03/21 11:33:57 peter Exp $ + * $Id: in_proto.c,v 1.47 1998/08/23 03:07:14 wollman Exp $ */ #include "opt_ipdivert.h" @@ -42,6 +42,7 @@ #include <sys/socket.h> #include <sys/domain.h> #include <sys/protosw.h> +#include <sys/queue.h> #include <sys/sysctl.h> #include <net/if.h> |