Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-2-0]: src/sys/netinet Pull up revision 1.122 (requested by atatat...
details: https://anonhg.NetBSD.org/src/rev/00ef5a1b2cdf
branches: netbsd-2-0
changeset: 561130:00ef5a1b2cdf
user: tron <tron%NetBSD.org@localhost>
date: Fri May 28 07:24:17 2004 +0000
description:
Pull up revision 1.122 (requested by atatat in ticket #391):
Sysctl descriptions under net subtree (net.key not done)
diffstat:
sys/netinet/udp_usrreq.c | 16 ++++++++++------
1 files changed, 10 insertions(+), 6 deletions(-)
diffs (52 lines):
diff -r d3efa3bd949c -r 00ef5a1b2cdf sys/netinet/udp_usrreq.c
--- a/sys/netinet/udp_usrreq.c Fri May 28 07:24:09 2004 +0000
+++ b/sys/netinet/udp_usrreq.c Fri May 28 07:24:17 2004 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: udp_usrreq.c,v 1.116.2.3 2004/05/10 15:00:52 tron Exp $ */
+/* $NetBSD: udp_usrreq.c,v 1.116.2.4 2004/05/28 07:24:17 tron Exp $ */
/*
* Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
@@ -61,7 +61,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: udp_usrreq.c,v 1.116.2.3 2004/05/10 15:00:52 tron Exp $");
+__KERNEL_RCSID(0, "$NetBSD: udp_usrreq.c,v 1.116.2.4 2004/05/28 07:24:17 tron Exp $");
#include "opt_inet.h"
#include "opt_ipsec.h"
@@ -1127,25 +1127,29 @@
CTL_NET, PF_INET, CTL_EOL);
sysctl_createv(clog, 0, NULL, NULL,
CTLFLAG_PERMANENT,
- CTLTYPE_NODE, "udp", NULL,
+ CTLTYPE_NODE, "udp",
+ SYSCTL_DESCR("UDPv4 related settings"),
NULL, 0, NULL, 0,
CTL_NET, PF_INET, IPPROTO_UDP, CTL_EOL);
sysctl_createv(clog, 0, NULL, NULL,
CTLFLAG_PERMANENT|CTLFLAG_READWRITE,
- CTLTYPE_INT, "checksum", NULL,
+ CTLTYPE_INT, "checksum",
+ SYSCTL_DESCR("Compute and check UDP checksums"),
NULL, 0, &udpcksum, 0,
CTL_NET, PF_INET, IPPROTO_UDP, UDPCTL_CHECKSUM,
CTL_EOL);
sysctl_createv(clog, 0, NULL, NULL,
CTLFLAG_PERMANENT|CTLFLAG_READWRITE,
- CTLTYPE_INT, "sendspace", NULL,
+ CTLTYPE_INT, "sendspace",
+ SYSCTL_DESCR("Default UDP send buffer size"),
NULL, 0, &udp_sendspace, 0,
CTL_NET, PF_INET, IPPROTO_UDP, UDPCTL_SENDSPACE,
CTL_EOL);
sysctl_createv(clog, 0, NULL, NULL,
CTLFLAG_PERMANENT|CTLFLAG_READWRITE,
- CTLTYPE_INT, "recvspace", NULL,
+ CTLTYPE_INT, "recvspace",
+ SYSCTL_DESCR("Default UDP receive buffer size"),
NULL, 0, &udp_recvspace, 0,
CTL_NET, PF_INET, IPPROTO_UDP, UDPCTL_RECVSPACE,
CTL_EOL);
Home |
Main Index |
Thread Index |
Old Index