patch-2.0.31 linux/net/core/sysctl_net_core.c
Next file: linux/net/ipv4/Config.in
Previous file: linux/net/core/sock.c
Back to the patch index
Back to the overall index
- Lines: 18
- Date:
Tue Aug 12 11:30:22 1997
- Orig file:
v2.0.30/linux/net/core/sysctl_net_core.c
- Orig date:
Mon Apr 1 22:03:35 1996
diff -u --recursive --new-file v2.0.30/linux/net/core/sysctl_net_core.c linux/net/core/sysctl_net_core.c
@@ -7,7 +7,17 @@
#include <linux/mm.h>
#include <linux/sysctl.h>
+#include <linux/config.h>
+
+#ifdef CONFIG_NET_ALIAS
+extern int sysctl_net_alias_max;
+extern int proc_do_net_alias_max(ctl_table *, int, struct file *, void *, size_t *);
+#endif
ctl_table core_table[] = {
+#ifdef CONFIG_NET_ALIAS
+ {NET_CORE_NET_ALIAS_MAX, "net_alias_max", &sysctl_net_alias_max, sizeof(int),
+ 0644, NULL, &proc_do_net_alias_max },
+#endif
{0}
};
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov