[PATCH] orinoco: Read only needed data in __orinoco_ev_txexc().
[linux-2.6/mini2440.git] / net / sysctl_net.c
blobc5241fcbb9662451918242557022da60ff003ca0
1 /* -*- linux-c -*-
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>
16 #include <linux/mm.h>
17 #include <linux/sysctl.h>
19 #ifdef CONFIG_INET
20 #include <net/ip.h>
21 #endif
23 #ifdef CONFIG_NET
24 #include <linux/if_ether.h>
25 #endif
27 #ifdef CONFIG_TR
28 #include <linux/if_tr.h>
29 #endif
31 struct ctl_table net_table[] = {
33 .ctl_name = NET_CORE,
34 .procname = "core",
35 .mode = 0555,
36 .child = core_table,
38 #ifdef CONFIG_NET
40 .ctl_name = NET_ETHER,
41 .procname = "ethernet",
42 .mode = 0555,
43 .child = ether_table,
45 #endif
46 #ifdef CONFIG_INET
48 .ctl_name = NET_IPV4,
49 .procname = "ipv4",
50 .mode = 0555,
51 .child = ipv4_table
53 #endif
54 #ifdef CONFIG_TR
56 .ctl_name = NET_TR,
57 .procname = "token-ring",
58 .mode = 0555,
59 .child = tr_table,
61 #endif
62 { 0 },