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

Subversion Repositories or1k

[/] [or1k/] [tags/] [before_ORP/] [uclinux/] [uClinux-2.0.x/] [net/] [sysctl_net.c] - Blame information for rev 901

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

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

powered by: WebSVN 2.1.0

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