root/net/sysctl_net.c

/* [previous][next][first][last][top][bottom][index][help] */
   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 
   8 #include <linux/config.h>
   9 #include <linux/mm.h>
  10 #include <linux/sysctl.h>
  11 
  12 #ifdef CONFIG_INET
  13 extern ctl_table ipv4_table[];
  14 #endif
  15 
  16 #ifdef CONFIG_IPX
  17 extern ctl_table ipx_table[];
  18 #endif
  19 
  20 #ifdef CONFIG_ATALK
  21 extern ctl_table atalk_table[];
  22 #endif
  23 
  24 #ifdef CONFIG_NETROM
  25 extern ctl_table netrom_table[];
  26 #endif
  27 
  28 #ifdef CONFIG_AX25
  29 extern ctl_table ax25_table[];
  30 #endif
  31 
  32 extern ctl_table core_table[], ether_table[], e802_table[], unix_table[];
  33 
  34 ctl_table net_table[] = {
  35         {NET_CORE,   "core",      NULL, 0, 0555, core_table},
  36         {NET_ETHER,  "ethernet",  NULL, 0, 0555, ether_table},
  37         {NET_802,    "802",       NULL, 0, 0555, e802_table},
  38         {NET_UNIX,   "unix",      NULL, 0, 0555, unix_table},
  39 #ifdef CONFIG_INET
  40         {NET_IPV4,   "ipv4",      NULL, 0, 0555, ipv4_table},
  41 #endif
  42 #ifdef CONFIG_IPX
  43         {NET_IPX,    "ipx",       NULL, 0, 0555, ipx_table},
  44 #endif
  45 #ifdef CONFIG_ATALK
  46         {NET_ATALK,  "appletalk", NULL, 0, 0555, atalk_table},
  47 #endif
  48 #ifdef CONFIG_NETROM
  49         {NET_NETROM, "netrom",    NULL, 0, 0555, netrom_table},
  50 #endif
  51 #ifdef CONFIG_AX25
  52         {NET_AX25,   "ax25",      NULL, 0, 0555, ax25_table},
  53 #endif
  54         {0}
  55 };

/* [previous][next][first][last][top][bottom][index][help] */