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
23extern ctl_table core_table[];
24
25#ifdef CONFIG_NET
26extern ctl_table ether_table[], e802_table[];
27#endif
28
29#ifdef CONFIG_IPV6
30extern ctl_table ipv6_table[];
31#endif
32
33#ifdef CONFIG_TR
34extern ctl_table tr_table[];
35#endif
36
37ctl_table net_table[] = {
38 {NET_CORE, "core", NULL, 0, 0555, core_table},
39#ifdef CONFIG_NET
40 {NET_802, "802", NULL, 0, 0555, e802_table},
41 {NET_ETHER, "ethernet", NULL, 0, 0555, ether_table},
42#endif
43#ifdef CONFIG_INET
44 {NET_IPV4, "ipv4", NULL, 0, 0555, ipv4_table},
45#endif
46#ifdef CONFIG_IPV6
47 {NET_IPV6, "ipv6", NULL, 0, 0555, ipv6_table},
48#endif
49#ifdef CONFIG_TR
50 {NET_TR, "token-ring", NULL, 0, 0555, tr_table},
51#endif
52 {0}
53};
54