summaryrefslogtreecommitdiff
path: root/share/man/man9
diff options
context:
space:
mode:
authorKenneth R Westerback <krw@cvs.openbsd.org>2016-09-12 16:24:38 +0000
committerKenneth R Westerback <krw@cvs.openbsd.org>2016-09-12 16:24:38 +0000
commit122cdc9c4911873c235fd28dade6ae7d6b22de37 (patch)
treec51f93cca88fdb5d662fae2eacee868798476b1d /share/man/man9
parentc0f643248a8672eb620811bf1906eb62dfe9be5c (diff)
bpf_tap() is long dead! Long live bpf_mtap() & friends.
ok natano@ deraadt@
Diffstat (limited to 'share/man/man9')
-rw-r--r--share/man/man9/bpf_mtap.99
1 files changed, 2 insertions, 7 deletions
diff --git a/share/man/man9/bpf_mtap.9 b/share/man/man9/bpf_mtap.9
index d59d3ea466e..2cf1da1830c 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.8 2016/05/10 23:51:50 dlg Exp $
+.\" $OpenBSD: bpf_mtap.9,v 1.9 2016/09/12 16:24:37 krw Exp $
.\"
.\" Copyright (c) 2016 David Gwynne <dlg@openbsd.org>
.\"
@@ -14,14 +14,13 @@
.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
.\"
-.Dd $Mdocdate: May 10 2016 $
+.Dd $Mdocdate: September 12 2016 $
.Dt BPF_MTAP 9
.Os
.Sh NAME
.Nm bpf_filter ,
.Nm bpf_mfilter ,
.Nm bpf_validate ,
-.Nm bpf_tap ,
.Nm bpf_mtap ,
.Nm bpf_mtap_hdr ,
.Nm bpf_mtap_af ,
@@ -45,8 +44,6 @@
.Ft int
.Fn bpf_validate "struct bpf_insn *pc" "int len"
.Ft int
-.Fn bpf_tap "caddr_t bpf" "u_char *pkt" "u_int pktlen" "u_int direction"
-.Ft int
.Fn bpf_mtap "caddr_t bpf" "const struct mbuf *m" "u_int direction"
.Ft int
.Fo bpf_mtap_hdr
@@ -167,7 +164,6 @@ and
can be called from process context, or from an interrupt context.
.Pp
.Fn bpf_mtap ,
-.Fn bpf_tap ,
.Fn bpf_mtap ,
.Fn bpf_mtap_hdr ,
.Fn bpf_mtap_af ,
@@ -190,7 +186,6 @@ program.
returns a non-zero value if the BPF program is valid,
otherwise 0.
.Pp
-.Fn bpf_tap ,
.Fn bpf_mtap ,
.Fn bpf_mtap_hdr ,
.Fn bpf_mtap_af ,