OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [trunk/] [rc203soc/] [sw/] [uClinux/] [net/] [sysctl_net.c] - Rev 1777

Go to most recent revision | Compare with Previous | Blame | View Log

/* -*- linux-c -*-
 * sysctl_net.c: sysctl interface to net subsystem.
 *
 * Begun April 1, 1996, Mike Shaver.
 * Added /proc/sys/net directories for each protocol family. [MS]
 *
 * $Log: not supported by cvs2svn $
 * Revision 1.1.1.1  2001/09/10 07:44:46  simons
 * Initial import
 *
 * Revision 1.1.1.1  2001/07/02 17:58:15  simons
 * Initial revision
 *
 * Revision 1.1.1.1  1999/11/22 03:47:04  christ
 * Importing new-wave v1.0.4
 *
 * Revision 1.2  1996/05/08  20:24:40  shaver
 * Added bits for NET_BRIDGE and the NET_IPV4_ARP stuff and
 * NET_IPV4_IP_FORWARD.
 *
 *
 */
 
#include <linux/config.h>
#include <linux/mm.h>
#include <linux/sysctl.h>
 
#ifdef CONFIG_INET
extern ctl_table ipv4_table[];
#endif
 
#ifdef CONFIG_IPX
extern ctl_table ipx_table[];
#endif
 
#ifdef CONFIG_ATALK
extern ctl_table atalk_table[];
#endif
 
extern ctl_table core_table[], unix_table[];
 
#ifdef CONFIG_NET
extern ctl_table ether_table[], e802_table[];
#endif
 
#ifdef CONFIG_BRIDGE
extern ctl_table bridge_table[];
#endif
 
ctl_table net_table[] = {
	{NET_CORE,   "core",      NULL, 0, 0555, core_table},      
        {NET_UNIX,   "unix",      NULL, 0, 0555, unix_table},
#ifdef CONFIG_NET
	{NET_802,    "802",       NULL, 0, 0555, e802_table},
	{NET_ETHER,  "ethernet",  NULL, 0, 0555, ether_table},
#endif
#ifdef CONFIG_INET
	{NET_IPV4,   "ipv4",      NULL, 0, 0555, ipv4_table},
#endif
#ifdef CONFIG_IPX
        {NET_IPX,    "ipx",       NULL, 0, 0555, ipx_table},
#endif
#ifdef CONFIG_ATALK
        {NET_ATALK,  "appletalk", NULL, 0, 0555, atalk_table},
#endif
#ifdef CONFIG_BRIDGE
        {NET_BRIDGE, "bridge",    NULL, 0, 0555, bridge_table},
#endif
	{0}
};
 

Go to most recent revision | Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.