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

Subversion Repositories or1k_old

[/] [or1k_old/] [trunk/] [rc203soc/] [sw/] [uClinux/] [net/] [sysctl_net.c] - Blame information for rev 1782

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 1629 jcastillo
/* -*- 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: not supported by cvs2svn $
8
 * Revision 1.1.1.1  2001/09/10 07:44:46  simons
9
 * Initial import
10
 *
11
 * Revision 1.1.1.1  2001/07/02 17:58:15  simons
12
 * Initial revision
13
 *
14
 * Revision 1.1.1.1  1999/11/22 03:47:04  christ
15
 * Importing new-wave v1.0.4
16
 *
17
 * Revision 1.2  1996/05/08  20:24:40  shaver
18
 * Added bits for NET_BRIDGE and the NET_IPV4_ARP stuff and
19
 * NET_IPV4_IP_FORWARD.
20
 *
21
 *
22
 */
23
 
24
#include <linux/config.h>
25
#include <linux/mm.h>
26
#include <linux/sysctl.h>
27
 
28
#ifdef CONFIG_INET
29
extern ctl_table ipv4_table[];
30
#endif
31
 
32
#ifdef CONFIG_IPX
33
extern ctl_table ipx_table[];
34
#endif
35
 
36
#ifdef CONFIG_ATALK
37
extern ctl_table atalk_table[];
38
#endif
39
 
40
extern ctl_table core_table[], unix_table[];
41
 
42
#ifdef CONFIG_NET
43
extern ctl_table ether_table[], e802_table[];
44
#endif
45
 
46
#ifdef CONFIG_BRIDGE
47
extern ctl_table bridge_table[];
48
#endif
49
 
50
ctl_table net_table[] = {
51
        {NET_CORE,   "core",      NULL, 0, 0555, core_table},
52
        {NET_UNIX,   "unix",      NULL, 0, 0555, unix_table},
53
#ifdef CONFIG_NET
54
        {NET_802,    "802",       NULL, 0, 0555, e802_table},
55
        {NET_ETHER,  "ethernet",  NULL, 0, 0555, ether_table},
56
#endif
57
#ifdef CONFIG_INET
58
        {NET_IPV4,   "ipv4",      NULL, 0, 0555, ipv4_table},
59
#endif
60
#ifdef CONFIG_IPX
61
        {NET_IPX,    "ipx",       NULL, 0, 0555, ipx_table},
62
#endif
63
#ifdef CONFIG_ATALK
64
        {NET_ATALK,  "appletalk", NULL, 0, 0555, atalk_table},
65
#endif
66
#ifdef CONFIG_BRIDGE
67
        {NET_BRIDGE, "bridge",    NULL, 0, 0555, bridge_table},
68
#endif
69
        {0}
70
};

powered by: WebSVN 2.1.0

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