diff options
author | wollman <wollman@FreeBSD.org> | 1996-01-05 20:47:05 +0000 |
---|---|---|
committer | wollman <wollman@FreeBSD.org> | 1996-01-05 20:47:05 +0000 |
commit | 9e6f88883f9f6cc358f531eb8478a92f4d4291fc (patch) | |
tree | 33062b05eef4f73550a3f54546b5616caecffdff /sys/netipx/ipx_proto.c | |
parent | 6430272759633c6a6de434bc2bab68356801b788 (diff) | |
download | FreeBSD-src-9e6f88883f9f6cc358f531eb8478a92f4d4291fc.zip FreeBSD-src-9e6f88883f9f6cc358f531eb8478a92f4d4291fc.tar.gz |
Finally demolished the last, tottering remnants of GATEWAY. If you want
to enable IP forwarding, use sysctl(8). Also did the same for IPX,
which involved inventing a completely new MIB from whole cloth (which
I may not quite have correct); be aware of this if you use IPX forwarding.
(The two should never have been controlled by the same option anyway.)
Diffstat (limited to 'sys/netipx/ipx_proto.c')
-rw-r--r-- | sys/netipx/ipx_proto.c | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/sys/netipx/ipx_proto.c b/sys/netipx/ipx_proto.c index fc20d32..4764455 100644 --- a/sys/netipx/ipx_proto.c +++ b/sys/netipx/ipx_proto.c @@ -33,7 +33,7 @@ * * @(#)ipx_proto.c * - * $Id: ipx_proto.c,v 1.2 1995/10/31 23:36:36 julian Exp $ + * $Id: ipx_proto.c,v 1.3 1995/11/04 09:03:18 julian Exp $ */ #include <sys/param.h> @@ -42,6 +42,7 @@ #include <sys/domain.h> #include <sys/kernel.h> #include <sys/mbuf.h> +#include <sys/sysctl.h> #include <net/radix.h> @@ -100,3 +101,10 @@ struct domain ipxdomain = rn_inithead, 16, sizeof(struct sockaddr_ipx)}; DOMAIN_SET(ipx); +SYSCTL_NODE(_net, PF_IPX, ipx, CTLFLAG_RW, 0, + "IPX/SPX"); + +SYSCTL_NODE(_net_ipx, IPXPROTO_RAW, ipx, CTLFLAG_RW, 0, "IPX"); +SYSCTL_NODE(_net_ipx, IPXPROTO_SPX, spx, CTLFLAG_RW, 0, "SPX"); +SYSCTL_NODE(_net_ipx, IPXPROTO_ERROR, error, CTLFLAG_RW, 0, + "Error Protocol"); |