1
2
3
4
5
6
7
8 #include <linux/config.h>
9 #include <linux/mm.h>
10 #include <linux/sysctl.h>
11
12 #ifdef CONFIG_INET
13 extern ctl_table ipv4_table[];
14 #endif
15
16 #ifdef CONFIG_IPX
17 extern ctl_table ipx_table[];
18 #endif
19
20 #ifdef CONFIG_ATALK
21 extern ctl_table atalk_table[];
22 #endif
23
24 #ifdef CONFIG_NETROM
25 extern ctl_table netrom_table[];
26 #endif
27
28 #ifdef CONFIG_AX25
29 extern ctl_table ax25_table[];
30 #endif
31
32 extern ctl_table core_table[], unix_table[];
33
34 #ifdef CONFIG_NET
35 extern ctl_table ether_table[], e802_table[];
36 #endif
37
38 ctl_table net_table[] = {
39 {NET_CORE, "core", NULL, 0, 0555, core_table},
40 {NET_UNIX, "unix", NULL, 0, 0555, unix_table},
41 #ifdef CONFIG_NET
42 {NET_802, "802", NULL, 0, 0555, e802_table},
43 {NET_ETHER, "ethernet", NULL, 0, 0555, ether_table},
44 #endif
45 #ifdef CONFIG_INET
46 {NET_IPV4, "ipv4", NULL, 0, 0555, ipv4_table},
47 #endif
48 #ifdef CONFIG_IPX
49 {NET_IPX, "ipx", NULL, 0, 0555, ipx_table},
50 #endif
51 #ifdef CONFIG_ATALK
52 {NET_ATALK, "appletalk", NULL, 0, 0555, atalk_table},
53 #endif
54 #ifdef CONFIG_NETROM
55 {NET_NETROM, "netrom", NULL, 0, 0555, netrom_table},
56 #endif
57 #ifdef CONFIG_AX25
58 {NET_AX25, "ax25", NULL, 0, 0555, ax25_table},
59 #endif
60 {0}
61 };