patch-2.1.89 linux/include/linux/sysctl.h
Next file: linux/include/linux/ufs_fs.h
Previous file: linux/include/linux/swap.h
Back to the patch index
Back to the overall index
- Lines: 139
- Date:
Sun Mar 1 14:40:40 1998
- Orig file:
v2.1.88/linux/include/linux/sysctl.h
- Orig date:
Mon Jan 12 15:28:19 1998
diff -u --recursive --new-file v2.1.88/linux/include/linux/sysctl.h linux/include/linux/sysctl.h
@@ -116,6 +116,8 @@
NET_CORE_DESTROY_DELAY,
NET_CORE_MAX_BACKLOG,
NET_CORE_FASTROUTE,
+ NET_CORE_MSG_COST,
+ NET_CORE_MSG_BURST,
};
/* /proc/sys/net/ethernet */
@@ -133,26 +135,24 @@
/* /proc/sys/net/ipv4 */
enum
{
- NET_IPV4_TCP_HOE_RETRANSMITS=1,
+ /* v2.0 compatibile variables */
+ NET_IPV4_FORWARD = 8,
+ NET_IPV4_DYNADDR = 9,
+
+ NET_IPV4_CONF = 16,
+ NET_IPV4_NEIGH = 17,
+ NET_IPV4_ROUTE = 18,
+ NET_IPV4_FIB_HASH = 19,
+
+ NET_IPV4_TCP_HOE_RETRANSMITS=32,
NET_IPV4_TCP_SACK,
NET_IPV4_TCP_TSACK,
NET_IPV4_TCP_TIMESTAMPS,
NET_IPV4_TCP_WINDOW_SCALING,
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_SEND_REDIRECTS,
NET_IPV4_AUTOCONFIG,
- NET_IPV4_BOOTP_RELAY,
- NET_IPV4_PROXY_ARP,
NET_IPV4_NO_PMTU_DISC,
- NET_IPV4_ACCEPT_REDIRECTS,
- NET_IPV4_SECURE_REDIRECTS,
- NET_IPV4_RFC1620_REDIRECTS,
- NET_IPV4_RTCACHE_FLUSH,
NET_IPV4_TCP_SYN_RETRIES,
NET_IPV4_IPFRAG_HIGH_THRESH,
NET_IPV4_IPFRAG_LOW_THRESH,
@@ -164,10 +164,6 @@
NET_IPV4_TCP_RETRIES2,
NET_IPV4_TCP_MAX_DELAY_ACKS,
NET_IPV4_TCP_FIN_TIMEOUT,
- NET_IPV4_IGMP_MAX_HOST_REPORT_DELAY,
- NET_IPV4_IGMP_TIMER_SCALE,
- NET_IPV4_IGMP_AGE_THRESHOLD,
- NET_IPV4_IP_DYNADDR,
NET_IPV4_IP_MASQ_DEBUG,
NET_TCP_SYNCOOKIES,
NET_TCP_STDURG,
@@ -181,26 +177,74 @@
NET_IPV4_ICMP_TIMEEXCEED_RATE,
NET_IPV4_ICMP_PARAMPROB_RATE,
NET_IPV4_ICMP_ECHOREPLY_RATE,
- NET_IPV4_NEIGH,
};
+enum {
+ NET_IPV4_ROUTE_FLUSH = 1,
+ NET_IPV4_ROUTE_MIN_DELAY,
+ NET_IPV4_ROUTE_MAX_DELAY,
+ NET_IPV4_ROUTE_GC_THRESH,
+ NET_IPV4_ROUTE_MAX_SIZE,
+ NET_IPV4_ROUTE_GC_MIN_INTERVAL,
+ NET_IPV4_ROUTE_GC_TIMEOUT,
+ NET_IPV4_ROUTE_GC_INTERVAL,
+ NET_IPV4_ROUTE_REDIRECT_LOAD,
+ NET_IPV4_ROUTE_REDIRECT_NUMBER,
+ NET_IPV4_ROUTE_REDIRECT_SILENCE,
+ NET_IPV4_ROUTE_ERROR_COST,
+ NET_IPV4_ROUTE_ERROR_BURST,
+};
+
+enum
+{
+ NET_PROTO_CONF_ALL = -2,
+ NET_PROTO_CONF_DEFAULT = -3,
+
+ /* And device ifindices ... */
+};
+
+enum
+{
+ NET_IPV4_CONF_FORWARDING = 1,
+ NET_IPV4_CONF_MC_FORWARDING,
+ NET_IPV4_CONF_PROXY_ARP,
+ NET_IPV4_CONF_ACCEPT_REDIRECTS,
+ NET_IPV4_CONF_SECURE_REDIRECTS,
+ NET_IPV4_CONF_SEND_REDIRECTS,
+ NET_IPV4_CONF_SHARED_MEDIA,
+ NET_IPV4_CONF_RP_FILTER,
+ NET_IPV4_CONF_ACCEPT_SOURCE_ROUTE,
+ NET_IPV4_CONF_BOOTP_RELAY,
+ NET_IPV4_CONF_LOG_MARTIANS,
+};
/* /proc/sys/net/ipv6 */
enum {
- NET_IPV6_FORWARDING = 1,
- NET_IPV6_HOPLIMIT,
+ NET_IPV6_CONF = 16,
+ NET_IPV6_NEIGH = 17,
+ NET_IPV6_ROUTE = 18,
+};
+
+enum {
+ NET_IPV6_ROUTE_FLUSH = 1,
+ NET_IPV6_ROUTE_GC_THRESH,
+ NET_IPV6_ROUTE_MAX_SIZE,
+ NET_IPV6_ROUTE_GC_MIN_INTERVAL,
+ NET_IPV6_ROUTE_GC_TIMEOUT,
+ NET_IPV6_ROUTE_GC_INTERVAL,
+};
+enum {
+ NET_IPV6_FORWARDING = 1,
+ NET_IPV6_HOP_LIMIT,
+ NET_IPV6_MTU,
NET_IPV6_ACCEPT_RA,
NET_IPV6_ACCEPT_REDIRECTS,
-
NET_IPV6_AUTOCONF,
NET_IPV6_DAD_TRANSMITS,
NET_IPV6_RTR_SOLICITS,
NET_IPV6_RTR_SOLICIT_INTERVAL,
NET_IPV6_RTR_SOLICIT_DELAY,
-
- NET_IPV6_ICMPV6_TIME,
- NET_IPV6_NEIGH,
};
/* /proc/sys/net/<protocol>/neigh/<dev> */
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov