Date: Wed, 29 Apr 2009 19:50:13 GMT From: Eugene Mychlo <myc@barev.net> To: freebsd-gnats-submit@FreeBSD.org Subject: docs/134100: Incorrect control messages in ng_hole(4) manpage Message-ID: <200904291950.n3TJoDF5044319@www.freebsd.org> Resent-Message-ID: <200904292000.n3TK0BZl075295@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 134100 >Category: docs >Synopsis: Incorrect control messages in ng_hole(4) manpage >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-doc >State: open >Quarter: >Keywords: >Date-Required: >Class: doc-bug >Submitter-Id: current-users >Arrival-Date: Wed Apr 29 20:00:11 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Eugene Mychlo >Release: FreeBSD 7.1-RELEASE-p4 >Organization: Rekomendata, JSC >Environment: FreeBSD mycws.local 7.1-RELEASE-p4 FreeBSD 7.1-RELEASE-p4 #0: Sun Mar 22 12:35:36 UTC 2009 root@i386-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC i386 >Description: The ng_hole(4) manpage states that hole node type supports NGM_BPF_* control messages, but isn't correct. >How-To-Repeat: >Fix: Patch attached with submission follows: --- share/man/man4/ng_hole.4~ 2009-04-29 23:41:51.000000000 +0400 +++ share/man/man4/ng_hole.4 2009-04-29 23:42:50.000000000 +0400 @@ -58,20 +58,20 @@ This node type supports the generic control messages, plus the following: .Bl -tag -width indent -.It Dv NGM_BPF_GET_STATS +.It Dv NGM_HOLE_GET_STATS This command takes an .Tn ASCII string argument, the hook name, and returns the statistics associated with the hook as a .Vt "struct ng_hole_hookstat" . -.It Dv NGM_BPF_CLR_STATS +.It Dv NGM_HOLE_CLR_STATS This command takes an .Tn ASCII string argument, the hook name, and clears the statistics associated with the hook. -.It Dv NGM_BPF_GETCLR_STATS +.It Dv NGM_HOLE_GETCLR_STATS This command is identical to -.Dv NGM_BPF_GET_STATS , +.Dv NGM_HOLE_GET_STATS , except that the statistics are also atomically cleared. .El .Sh SHUTDOWN >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200904291950.n3TJoDF5044319>