1
2
3
4
5
6
7
8
9
10
11
12
13
14
15#include <linux/config.h>
16#include <linux/mm.h>
17#include <linux/sysctl.h>
18
19#ifdef CONFIG_INET
20extern ctl_table ipv4_table[];
21#endif
22
23#ifdef CONFIG_IPX
24extern ctl_table ipx_table[];
25#endif
26
27extern ctl_table core_table[], unix_table[];
28
29#ifdef CONFIG_NET
30extern ctl_table ether_table[], e802_table[];
31#endif
32
33#ifdef CONFIG_BRIDGE
34extern ctl_table bridge_table[];
35#endif
36
37#ifdef CONFIG_IPV6
38extern ctl_table ipv6_table[];
39#endif
40
41#ifdef CONFIG_TR
42extern ctl_table tr_table[];
43#endif
44
45ctl_table net_table[] = {
46 {NET_CORE, "core", NULL, 0, 0555, core_table},
47 {NET_UNIX, "unix", NULL, 0, 0555, unix_table},
48#ifdef CONFIG_NET
49 {NET_802, "802", NULL, 0, 0555, e802_table},
50 {NET_ETHER, "ethernet", NULL, 0, 0555, ether_table},
51#endif
52#ifdef CONFIG_INET
53 {NET_IPV4, "ipv4", NULL, 0, 0555, ipv4_table},
54#endif
55#ifdef CONFIG_IPX
56 {NET_IPX, "ipx", NULL, 0, 0555, ipx_table},
57#endif
58#ifdef CONFIG_BRIDGE
59 {NET_BRIDGE, "bridge", NULL, 0, 0555, bridge_table},
60#endif
61#ifdef CONFIG_IPV6
62 {NET_IPV6, "ipv6", NULL, 0, 0555, ipv6_table},
63#endif
64#ifdef CONFIG_TR
65 {NET_TR, "token-ring", NULL, 0, 0555, tr_table},
66#endif
67 {0}
68};
69