patch-2.1.15 linux/include/linux/sysctl.h

Next file: linux/include/linux/tpqic02.h
Previous file: linux/include/linux/sockios.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.14/linux/include/linux/sysctl.h linux/include/linux/sysctl.h
@@ -93,14 +93,31 @@
 /* /proc/sys/net/unix */
 
 /* /proc/sys/net/ipv4 */
-#define NET_IPV4_ARP_RES_TIME           1
-#define NET_IPV4_ARP_DEAD_RES_TIME      2
-#define NET_IPV4_ARP_MAX_TRIES          3
-#define NET_IPV4_ARP_TIMEOUT            4
-#define NET_IPV4_ARP_CHECK_INTERVAL     5
-#define NET_IPV4_ARP_CONFIRM_INTERVAL   6
-#define NET_IPV4_ARP_CONFIRM_TIMEOUT	7
-#define NET_IPV4_TCP_VEGAS_CONG_AVOID   8
+enum
+{
+	NET_IPV4_ARP_RES_TIME=1,
+	NET_IPV4_ARP_DEAD_RES_TIME,
+	NET_IPV4_ARP_MAX_TRIES,
+	NET_IPV4_ARP_TIMEOUT,
+	NET_IPV4_ARP_CHECK_INTERVAL,
+	NET_IPV4_ARP_CONFIRM_INTERVAL,
+	NET_IPV4_ARP_CONFIRM_TIMEOUT,
+	NET_IPV4_TCP_VEGAS_CONG_AVOID,
+	NET_IPV4_FORWARDING,
+	NET_IPV4_DEFAULT_TTL,
+	NET_IPV4_RFC1812_FILTER,
+	NET_IPV4_LOG_MARTIANS,
+	NET_IPV4_SOURCE_ROUTE,
+	NET_IPV4_ADDRMASK_AGENT,
+	NET_IPV4_BOOTP_AGENT,
+	NET_IPV4_BOOTP_RELAY,
+	NET_IPV4_FIB_MODEL,
+	NET_IPV4_NO_PMTU_DISC,
+	NET_IPV4_ACCEPT_REDIRECTS,
+	NET_IPV4_SECURE_REDIRECTS,
+	NET_IPV4_RFC1620_REDIRECTS,
+};
+
 
 /* /proc/sys/net/ipv6 */
 #define NET_IPV6_FORWARDING		1

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov