1/* -*- linux-c -*- 2 * sysctl_net.c: sysctl interface to net subsystem. 3 * 4 * Begun April 1, 1996, Mike Shaver. 5 * Added /proc/sys/net directories for each protocol family. [MS] 6 * 7 * $Log: sysctl_net.c,v $ 8 * Revision 1.1.1.1 2008/10/15 03:27:33 james26_jang 9 * Initial. 10 * 11 * Revision 1.1.1.1 2008/07/21 09:16:35 james26_jang 12 * New UI, New QoS, New wireless driver(4.151.10.29), ipmonitor. 13 * 14 * Revision 1.1.1.1 2008/07/02 14:38:16 james26_jang 15 * 4.100.10.29, New QoS and New UI. 16 * 17 * Revision 1.1.1.1 2007/02/15 12:12:36 jiahao 18 * initial update 19 * 20 * Revision 1.1.1.1 2007/01/25 12:52:10 jiahao_jhou 21 * 22 * 23 * Revision 1.1.1.1 2003/02/03 22:38:20 mhuang 24 * LINUX_2_4 branch snapshot from linux-mips.org CVS 25 * 26 * Revision 1.2 1996/05/08 20:24:40 shaver 27 * Added bits for NET_BRIDGE and the NET_IPV4_ARP stuff and 28 * NET_IPV4_IP_FORWARD. 29 * 30 * 31 */ 32 33#include <linux/config.h> 34#include <linux/mm.h> 35#include <linux/sysctl.h> 36 37#ifdef CONFIG_INET 38extern ctl_table ipv4_table[]; 39#endif 40 41extern ctl_table core_table[]; 42 43#ifdef CONFIG_NET 44extern ctl_table ether_table[], e802_table[]; 45#endif 46 47#ifdef CONFIG_IPV6 48extern ctl_table ipv6_table[]; 49#endif 50 51#ifdef CONFIG_TR 52extern ctl_table tr_table[]; 53#endif 54 55ctl_table net_table[] = { 56 {NET_CORE, "core", NULL, 0, 0555, core_table}, 57#ifdef CONFIG_NET 58 {NET_802, "802", NULL, 0, 0555, e802_table}, 59 {NET_ETHER, "ethernet", NULL, 0, 0555, ether_table}, 60#endif 61#ifdef CONFIG_INET 62 {NET_IPV4, "ipv4", NULL, 0, 0555, ipv4_table}, 63#endif 64#ifdef CONFIG_IPV6 65 {NET_IPV6, "ipv6", NULL, 0, 0555, ipv6_table}, 66#endif 67#ifdef CONFIG_TR 68 {NET_TR, "token-ring", NULL, 0, 0555, tr_table}, 69#endif 70 {0} 71}; 72