summaryrefslogtreecommitdiffstats
path: root/sys/netinet/udp_usrreq.c
diff options
context:
space:
mode:
authorbillf <billf@FreeBSD.org>1999-05-03 23:57:32 +0000
committerbillf <billf@FreeBSD.org>1999-05-03 23:57:32 +0000
commitdd35516544a379a6c23755ba8ea52e0cb126c095 (patch)
tree0f822319d7261647df8d637a9f7ddf894d0567a0 /sys/netinet/udp_usrreq.c
parent4dc3ea1a78da868bd91c20c2daef85b47bcb6778 (diff)
downloadFreeBSD-src-dd35516544a379a6c23755ba8ea52e0cb126c095.zip
FreeBSD-src-dd35516544a379a6c23755ba8ea52e0cb126c095.tar.gz
Add sysctl descriptions to many SYSCTL_XXXs
PR: kern/11197 Submitted by: Adrian Chadd <adrian@FreeBSD.org> Reviewed by: billf(spelling/style/minor nits) Looked at by: bde(style)
Diffstat (limited to 'sys/netinet/udp_usrreq.c')
-rw-r--r--sys/netinet/udp_usrreq.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/netinet/udp_usrreq.c b/sys/netinet/udp_usrreq.c
index 7fc09d2c..b0d293c 100644
--- a/sys/netinet/udp_usrreq.c
+++ b/sys/netinet/udp_usrreq.c
@@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* @(#)udp_usrreq.c 8.6 (Berkeley) 5/23/95
- * $Id: udp_usrreq.c,v 1.49 1998/12/03 20:23:21 dillon Exp $
+ * $Id: udp_usrreq.c,v 1.50 1999/04/28 11:37:51 phk Exp $
*/
#include <sys/param.h>
@@ -75,7 +75,7 @@ SYSCTL_INT(_net_inet_udp, UDPCTL_CHECKSUM, checksum, CTLFLAG_RW,
static int log_in_vain = 0;
SYSCTL_INT(_net_inet_udp, OID_AUTO, log_in_vain, CTLFLAG_RW,
- &log_in_vain, 0, "");
+ &log_in_vain, 0, "Log all incoming UDP packets");
static struct inpcbhead udb; /* from udp_var.h */
static struct inpcbinfo udbinfo;
@@ -86,7 +86,7 @@ static struct inpcbinfo udbinfo;
static struct udpstat udpstat; /* from udp_var.h */
SYSCTL_STRUCT(_net_inet_udp, UDPCTL_STATS, stats, CTLFLAG_RD,
- &udpstat, udpstat, "");
+ &udpstat, udpstat, "UDP statistics (struct udpstat, netinet/udp_var.h)");
static struct sockaddr_in udp_in = { sizeof(udp_in), AF_INET };
@@ -553,11 +553,11 @@ release:
static u_long udp_sendspace = 9216; /* really max datagram size */
/* 40 1K datagrams */
SYSCTL_INT(_net_inet_udp, UDPCTL_MAXDGRAM, maxdgram, CTLFLAG_RW,
- &udp_sendspace, 0, "");
+ &udp_sendspace, 0, "Maximum outgoing UDP datagram size");
static u_long udp_recvspace = 40 * (1024 + sizeof(struct sockaddr_in));
SYSCTL_INT(_net_inet_udp, UDPCTL_RECVSPACE, recvspace, CTLFLAG_RW,
- &udp_recvspace, 0, "");
+ &udp_recvspace, 0, "Maximum incoming UDP datagram size");
static int
udp_abort(struct socket *so)
OpenPOWER on IntegriCloud