Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 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 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 13 | #include <linux/config.h> |
Arnaldo Carvalho de Melo | 2038073 | 2005-08-16 02:18:02 -0300 | [diff] [blame] | 14 | #include <linux/mm.h> |
| 15 | #include <linux/if_tr.h> |
| 16 | #include <linux/sysctl.h> |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 17 | |
| 18 | #ifdef CONFIG_TR |
| 19 | extern int sysctl_tr_rif_timeout; |
| 20 | #endif |
| 21 | |
| 22 | struct ctl_table tr_table[] = { |
| 23 | #ifdef CONFIG_TR |
| 24 | { |
| 25 | .ctl_name = NET_TR_RIF_TIMEOUT, |
| 26 | .procname = "rif_timeout", |
| 27 | .data = &sysctl_tr_rif_timeout, |
| 28 | .maxlen = sizeof(int), |
| 29 | .mode = 0644, |
| 30 | .proc_handler = &proc_dointvec |
| 31 | }, |
| 32 | #endif /* CONFIG_TR */ |
| 33 | { 0 }, |
| 34 | }; |