aboutsummaryrefslogtreecommitdiffstats
path: root/net/802/sysctl_net_802.c
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@ppc970.osdl.org>2005-04-16 18:20:36 -0400
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-04-16 18:20:36 -0400
commit1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 (patch)
tree0bba044c4ce775e45a88a51686b5d9f90697ea9d /net/802/sysctl_net_802.c
Linux-2.6.12-rc2v2.6.12-rc2
Initial git repository build. I'm not bothering with the full history, even though we have it. We can create a separate "historical" git archive of that later if we want to, and in the meantime it's about 3.2GB when imported into git - space that would just make the early git days unnecessarily complicated, when we don't have a lot of good infrastructure for it. Let it rip!
Diffstat (limited to 'net/802/sysctl_net_802.c')
-rw-r--r--net/802/sysctl_net_802.c33
1 files changed, 33 insertions, 0 deletions
diff --git a/net/802/sysctl_net_802.c b/net/802/sysctl_net_802.c
new file mode 100644
index 000000000000..36079630c49f
--- /dev/null
+++ b/net/802/sysctl_net_802.c
@@ -0,0 +1,33 @@
1/* -*- linux-c -*-
2 * sysctl_net_802.c: sysctl interface to net 802 subsystem.
3 *
4 * Begun April 1, 1996, Mike Shaver.
5 * Added /proc/sys/net/802 directory entry (empty =) ). [MS]
6 *
7 * This program is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU General Public License
9 * as published by the Free Software Foundation; either version
10 * 2 of the License, or (at your option) any later version.
11 */
12
13#include <linux/mm.h>
14#include <linux/sysctl.h>
15#include <linux/config.h>
16
17#ifdef CONFIG_TR
18extern int sysctl_tr_rif_timeout;
19#endif
20
21struct ctl_table tr_table[] = {
22#ifdef CONFIG_TR
23 {
24 .ctl_name = NET_TR_RIF_TIMEOUT,
25 .procname = "rif_timeout",
26 .data = &sysctl_tr_rif_timeout,
27 .maxlen = sizeof(int),
28 .mode = 0644,
29 .proc_handler = &proc_dointvec
30 },
31#endif /* CONFIG_TR */
32 { 0 },
33};