diff options
author | trhodes <trhodes@FreeBSD.org> | 2008-07-20 15:29:58 +0000 |
---|---|---|
committer | trhodes <trhodes@FreeBSD.org> | 2008-07-20 15:29:58 +0000 |
commit | 65211db2c166fabd2d0d3b908cd58cadcc5b098a (patch) | |
tree | a021c8cc0fe6f450cd21c2da1ead239f2a71d088 /sys | |
parent | cf477978dbf19157c7a76303fc2f0ac3ebb1c0d5 (diff) | |
download | FreeBSD-src-65211db2c166fabd2d0d3b908cd58cadcc5b098a.zip FreeBSD-src-65211db2c166fabd2d0d3b908cd58cadcc5b098a.tar.gz |
Document a few sysctls.
Reviewed by: rwatson
Diffstat (limited to 'sys')
-rw-r--r-- | sys/netinet/tcp_timer.c | 6 | ||||
-rw-r--r-- | sys/netinet/udp_usrreq.c | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/sys/netinet/tcp_timer.c b/sys/netinet/tcp_timer.c index 07db156..3cb74e1 100644 --- a/sys/netinet/tcp_timer.c +++ b/sys/netinet/tcp_timer.c @@ -66,15 +66,15 @@ __FBSDID("$FreeBSD$"); int tcp_keepinit; SYSCTL_PROC(_net_inet_tcp, TCPCTL_KEEPINIT, keepinit, CTLTYPE_INT|CTLFLAG_RW, - &tcp_keepinit, 0, sysctl_msec_to_ticks, "I", ""); + &tcp_keepinit, 0, sysctl_msec_to_ticks, "I", "time to establish connection"); int tcp_keepidle; SYSCTL_PROC(_net_inet_tcp, TCPCTL_KEEPIDLE, keepidle, CTLTYPE_INT|CTLFLAG_RW, - &tcp_keepidle, 0, sysctl_msec_to_ticks, "I", ""); + &tcp_keepidle, 0, sysctl_msec_to_ticks, "I", "time before keepalive probes begin"); int tcp_keepintvl; SYSCTL_PROC(_net_inet_tcp, TCPCTL_KEEPINTVL, keepintvl, CTLTYPE_INT|CTLFLAG_RW, - &tcp_keepintvl, 0, sysctl_msec_to_ticks, "I", ""); + &tcp_keepintvl, 0, sysctl_msec_to_ticks, "I", "time between keepalive probes"); int tcp_delacktime; SYSCTL_PROC(_net_inet_tcp, TCPCTL_DELACKTIME, delacktime, CTLTYPE_INT|CTLFLAG_RW, diff --git a/sys/netinet/udp_usrreq.c b/sys/netinet/udp_usrreq.c index 41b3dbb..29015d3 100644 --- a/sys/netinet/udp_usrreq.c +++ b/sys/netinet/udp_usrreq.c @@ -102,7 +102,7 @@ __FBSDID("$FreeBSD$"); */ static int udp_cksum = 1; SYSCTL_INT(_net_inet_udp, UDPCTL_CHECKSUM, checksum, CTLFLAG_RW, &udp_cksum, - 0, ""); + 0, "compute udp checksum"); int udp_log_in_vain = 0; SYSCTL_INT(_net_inet_udp, OID_AUTO, log_in_vain, CTLFLAG_RW, |