The Design and Implementation of the FreeBSD Operating System, Second Edition
Now available: The Design and Implementation of the FreeBSD Operating System (Second Edition)


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]

FreeBSD/Linux Kernel Cross Reference
sys/net/sysctl_net.c

Version: -  FREEBSD  -  FREEBSD-13-STABLE  -  FREEBSD-13-0  -  FREEBSD-12-STABLE  -  FREEBSD-12-0  -  FREEBSD-11-STABLE  -  FREEBSD-11-0  -  FREEBSD-10-STABLE  -  FREEBSD-10-0  -  FREEBSD-9-STABLE  -  FREEBSD-9-0  -  FREEBSD-8-STABLE  -  FREEBSD-8-0  -  FREEBSD-7-STABLE  -  FREEBSD-7-0  -  FREEBSD-6-STABLE  -  FREEBSD-6-0  -  FREEBSD-5-STABLE  -  FREEBSD-5-0  -  FREEBSD-4-STABLE  -  FREEBSD-3-STABLE  -  FREEBSD22  -  l41  -  OPENBSD  -  linux-2.6  -  MK84  -  PLAN9  -  xnu-8792 
SearchContext: -  none  -  3  -  10 

    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.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.
   11  *
   12  *
   13  */
   14 
   15 #include <linux/config.h>
   16 #include <linux/mm.h>
   17 #include <linux/sysctl.h>
   18 
   19 #ifdef CONFIG_INET
   20 extern ctl_table ipv4_table[];
   21 #endif
   22 
   23 extern ctl_table core_table[];
   24 
   25 #ifdef CONFIG_NET
   26 extern ctl_table ether_table[], e802_table[];
   27 #endif
   28 
   29 #ifdef CONFIG_IPV6
   30 extern ctl_table ipv6_table[];
   31 #endif
   32 
   33 #ifdef CONFIG_TR
   34 extern ctl_table tr_table[];
   35 #endif
   36 
   37 ctl_table net_table[] = {
   38         {NET_CORE,   "core",      NULL, 0, 0555, core_table},      
   39 #ifdef CONFIG_NET
   40         {NET_802,    "802",       NULL, 0, 0555, e802_table},
   41         {NET_ETHER,  "ethernet",  NULL, 0, 0555, ether_table},
   42 #endif
   43 #ifdef CONFIG_INET
   44         {NET_IPV4,   "ipv4",      NULL, 0, 0555, ipv4_table},
   45 #endif
   46 #ifdef CONFIG_IPV6
   47         {NET_IPV6, "ipv6", NULL, 0, 0555, ipv6_table},
   48 #endif
   49 #ifdef CONFIG_TR
   50         {NET_TR, "token-ring", NULL, 0, 0555, tr_table},
   51 #endif
   52         {0}
   53 };

Cache object: fe7bd85e925eb693c7aced79ef7e162f


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]


This page is part of the FreeBSD/Linux Linux Kernel Cross-Reference, and was automatically generated using a modified version of the LXR engine.