2 * sysctl_net.c: sysctl interface to net subsystem.
4 * Begun April 1, 1996, Mike Shaver.
5 * Added /proc/sys/net directories for each protocol family. [MS]
7 * $Log: sysctl_net.c,v $
8 * Revision 1.2 1996/05/08 20:24:40 shaver
9 * Added bits for NET_BRIDGE and the NET_IPV4_ARP stuff and
10 * NET_IPV4_IP_FORWARD.
15 #include <linux/config.h>
17 #include <linux/sysctl.h>
20 extern ctl_table ipv4_table
[];
24 extern ctl_table ipx_table
[];
27 extern ctl_table core_table
[];
30 extern ctl_table unix_table
[];
34 extern ctl_table ether_table
[], e802_table
[];
38 extern ctl_table bridge_table
[];
42 extern ctl_table ipv6_table
[];
46 extern ctl_table tr_table
[];
49 ctl_table net_table
[] = {
50 {NET_CORE
, "core", NULL
, 0, 0555, core_table
},
52 {NET_UNIX
, "unix", NULL
, 0, 0555, unix_table
},
55 {NET_802
, "802", NULL
, 0, 0555, e802_table
},
56 {NET_ETHER
, "ethernet", NULL
, 0, 0555, ether_table
},
59 {NET_IPV4
, "ipv4", NULL
, 0, 0555, ipv4_table
},
62 {NET_IPX
, "ipx", NULL
, 0, 0555, ipx_table
},
65 {NET_BRIDGE
, "bridge", NULL
, 0, 0555, bridge_table
},
68 {NET_IPV6
, "ipv6", NULL
, 0, 0555, ipv6_table
},
71 {NET_TR
, "token-ring", NULL
, 0, 0555, tr_table
},