Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-2-0]: src/sys/net Pull up revision 1.98 (requested by atatat in t...
details: https://anonhg.NetBSD.org/src/rev/43f1d9501407
branches: netbsd-2-0
changeset: 561134:43f1d9501407
user: tron <tron%NetBSD.org@localhost>
date: Fri May 28 07:24:55 2004 +0000
description:
Pull up revision 1.98 (requested by atatat in ticket #391):
Sysctl descriptions under net subtree (net.key not done)
diffstat:
sys/net/bpf.c | 10 ++++++----
1 files changed, 6 insertions(+), 4 deletions(-)
diffs (36 lines):
diff -r 2c608c4780ab -r 43f1d9501407 sys/net/bpf.c
--- a/sys/net/bpf.c Fri May 28 07:24:47 2004 +0000
+++ b/sys/net/bpf.c Fri May 28 07:24:55 2004 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: bpf.c,v 1.90.2.1 2004/04/21 03:56:14 jmc Exp $ */
+/* $NetBSD: bpf.c,v 1.90.2.2 2004/05/28 07:24:55 tron Exp $ */
/*
* Copyright (c) 1990, 1991, 1993
@@ -39,7 +39,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: bpf.c,v 1.90.2.1 2004/04/21 03:56:14 jmc Exp $");
+__KERNEL_RCSID(0, "$NetBSD: bpf.c,v 1.90.2.2 2004/05/28 07:24:55 tron Exp $");
#include "bpfilter.h"
@@ -1614,13 +1614,15 @@
node = NULL;
sysctl_createv(clog, 0, NULL, &node,
CTLFLAG_PERMANENT,
- CTLTYPE_NODE, "bpf", NULL,
+ CTLTYPE_NODE, "bpf",
+ SYSCTL_DESCR("BPF options"),
NULL, 0, NULL, 0,
CTL_NET, CTL_CREATE, CTL_EOL);
if (node != NULL)
sysctl_createv(clog, 0, NULL, NULL,
CTLFLAG_PERMANENT|CTLFLAG_READWRITE,
- CTLTYPE_INT, "maxbufsize", NULL,
+ CTLTYPE_INT, "maxbufsize",
+ SYSCTL_DESCR("Maximum size for data capture buffer"),
sysctl_net_bpf_maxbufsize, 0, &bpf_maxbufsize, 0,
CTL_NET, node->sysctl_num, CTL_CREATE, CTL_EOL);
}
Home |
Main Index |
Thread Index |
Old Index