patch-2.2.18 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: 22
- Date:
Fri Sep 22 14:57:52 2000
- Orig file:
v2.2.17/net/core/sysctl_net_core.c
- Orig date:
Fri Apr 21 12:47:12 2000
diff -u --new-file --recursive --exclude-from /usr/src/exclude v2.2.17/net/core/sysctl_net_core.c linux/net/core/sysctl_net_core.c
@@ -23,6 +23,9 @@
extern int sysctl_core_destroy_delay;
extern int sysctl_optmem_max;
+#ifdef CONFIG_NET_DIVERT
+extern char sysctl_divert_version[];
+#endif /* CONFIG_NET_DIVERT */
ctl_table core_table[] = {
#ifdef CONFIG_NET
@@ -55,6 +58,11 @@
{NET_CORE_OPTMEM_MAX, "optmem_max",
&sysctl_optmem_max, sizeof(int), 0644, NULL,
&proc_dointvec},
+#ifdef CONFIG_NET_DIVERT
+ {NET_CORE_DIVERT_VERSION, "divert_version",
+ (void *)sysctl_divert_version, 32, 0444, NULL,
+ &proc_dostring},
+#endif /* CONFIG_NET_DIVERT */
#endif /* CONFIG_NET */
{ 0 }
};
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)