summaryrefslogtreecommitdiff
path: root/share/man/man9
diff options
context:
space:
mode:
authorJason McIntyre <jmc@cvs.openbsd.org>2018-02-02 10:52:45 +0000
committerJason McIntyre <jmc@cvs.openbsd.org>2018-02-02 10:52:45 +0000
commitfb4955ab4409cce6d1c8b87dbbca2644f2606e14 (patch)
treec57847c0c192feea152a5e6ff1ac25d327ca8c5a /share/man/man9
parent96f499c9b2587a04c8369e4c3ae3a885ef453756 (diff)
tweak grammar in RETURN VALUES;
Diffstat (limited to 'share/man/man9')
-rw-r--r--share/man/man9/bpf_mtap.99
1 files changed, 5 insertions, 4 deletions
diff --git a/share/man/man9/bpf_mtap.9 b/share/man/man9/bpf_mtap.9
index 45890bb633d..18998beb573 100644
--- a/share/man/man9/bpf_mtap.9
+++ b/share/man/man9/bpf_mtap.9
@@ -1,4 +1,4 @@
-.\" $OpenBSD: bpf_mtap.9,v 1.13 2018/02/01 12:21:24 dlg Exp $
+.\" $OpenBSD: bpf_mtap.9,v 1.14 2018/02/02 10:52:44 jmc Exp $
.\"
.\" Copyright (c) 2016 David Gwynne <dlg@openbsd.org>
.\"
@@ -14,7 +14,7 @@
.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
.\"
-.Dd $Mdocdate: February 1 2018 $
+.Dd $Mdocdate: February 2 2018 $
.Dt BPF_MTAP 9
.Os
.Sh NAME
@@ -263,7 +263,7 @@ can be called from process context, or from an interrupt context at or below
.Fn bpfsattach
returns a reference to the BPF interface it allocates.
.Pp
-.Fn bpf_filter ,
+.Fn bpf_filter
and
.Fn bpf_mfilter
return -1 (cast to an unsigned integer) if the filter program is
@@ -281,7 +281,8 @@ otherwise 0.
.Fn bpf_mtap_hdr ,
.Fn bpf_mtap_af ,
.Fn bpf_mtap_ether ,
-.Fn bpf_tap_hdr ,
+and
+.Fn bpf_tap_hdr
return 1 if the packet or buffer matched a filter that indicates it
should be dropped, otherwise 0.
.Sh SEE ALSO