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

Subversion Repositories or1k

[/] [or1k/] [trunk/] [rc203soc/] [sw/] [uClinux/] [net/] [core/] [sysctl_net_core.c] - Blame information for rev 1765

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 1629 jcastillo
/* -*- linux-c -*-
2
 * sysctl_net_core.c: sysctl interface to net core subsystem.
3
 *
4
 * Begun April 1, 1996, Mike Shaver.
5
 * Added /proc/sys/net/core directory entry (empty =) ). [MS]
6
 */
7
 
8
#include <linux/mm.h>
9
#include <linux/sysctl.h>
10
#include <linux/config.h>
11
 
12
#ifdef CONFIG_NET_ALIAS
13
extern int sysctl_net_alias_max;
14
extern int proc_do_net_alias_max(ctl_table *, int, struct file *, void *, size_t *);
15
#endif
16
 
17
ctl_table core_table[] = {
18
#ifdef CONFIG_NET_ALIAS
19
        {NET_CORE_NET_ALIAS_MAX, "net_alias_max", &sysctl_net_alias_max, sizeof(int),
20
         0644, NULL, &proc_do_net_alias_max },
21
#endif  
22
        {0}
23
};

powered by: WebSVN 2.1.0

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