patch-pre2.0.11 linux/net/ipv4/sysctl_net_ipv4.c
Next file: linux/net/ipv4/tcp_input.c
Previous file: linux/net/ipv4/ip_masq.c
Back to the patch index
Back to the overall index
- Lines: 32
- Date:
Mon Jun 3 14:07:09 1996
- Orig file:
pre2.0.10/linux/net/ipv4/sysctl_net_ipv4.c
- Orig date:
Tue Apr 2 13:32:24 1996
diff -u --recursive --new-file pre2.0.10/linux/net/ipv4/sysctl_net_ipv4.c linux/net/ipv4/sysctl_net_ipv4.c
@@ -8,6 +8,31 @@
#include <linux/mm.h>
#include <linux/sysctl.h>
+/* From arp.c */
+extern int sysctl_arp_res_time;
+extern int sysctl_arp_dead_res_time;
+extern int sysctl_arp_max_tries;
+extern int sysctl_arp_timeout;
+extern int sysctl_arp_check_interval;
+extern int sysctl_arp_confirm_interval;
+extern int sysctl_arp_confirm_timeout;
+
ctl_table ipv4_table[] = {
+ {NET_IPV4_ARP_RES_TIME, "arp_res_time",
+ &sysctl_arp_res_time, sizeof(int), 0644, NULL, &proc_dointvec},
+ {NET_IPV4_ARP_DEAD_RES_TIME, "arp_dead_res_time",
+ &sysctl_arp_dead_res_time, sizeof(int), 0644, NULL, &proc_dointvec},
+ {NET_IPV4_ARP_MAX_TRIES, "arp_max_tries",
+ &sysctl_arp_max_tries, sizeof(int), 0644, NULL, &proc_dointvec},
+ {NET_IPV4_ARP_TIMEOUT, "arp_timeout",
+ &sysctl_arp_timeout, sizeof(int), 0644, NULL, &proc_dointvec},
+ {NET_IPV4_ARP_CHECK_INTERVAL, "arp_check_interval",
+ &sysctl_arp_check_interval, sizeof(int), 0644, NULL, &proc_dointvec},
+ {NET_IPV4_ARP_CONFIRM_INTERVAL, "arp_confirm_interval",
+ &sysctl_arp_confirm_interval, sizeof(int), 0644, NULL,
+ &proc_dointvec},
+ {NET_IPV4_ARP_CONFIRM_TIMEOUT, "arp_confirm_timeout",
+ &sysctl_arp_confirm_timeout, sizeof(int), 0644, NULL,
+ &proc_dointvec},
{0}
};
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov
with Sam's (original) version of this