diff options
author | David Gwynne <dlg@cvs.openbsd.org> | 2019-09-12 01:17:39 +0000 |
---|---|---|
committer | David Gwynne <dlg@cvs.openbsd.org> | 2019-09-12 01:17:39 +0000 |
commit | 0b5ca35b5bdac23f8cb23b7f012a4984078781a3 (patch) | |
tree | 8e7e9bc955e779dd68e0d32c7a841aa291194b83 /share | |
parent | d4b5a8cc7d9f6472b04f6dc5408cf0441ba4ab2d (diff) |
make bpf_mtap_hdr take a const void *, not a caddr_t.
this makes it easier to call at least, and makes it consistent with
bpf_tap_hdr.
ok stsp@ sashan@
Diffstat (limited to 'share')
-rw-r--r-- | share/man/man9/bpf_mtap.9 | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/share/man/man9/bpf_mtap.9 b/share/man/man9/bpf_mtap.9 index 18998beb573..a965a14c420 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.14 2018/02/02 10:52:44 jmc Exp $ +.\" $OpenBSD: bpf_mtap.9,v 1.15 2019/09/12 01:17:38 dlg 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 2 2018 $ +.Dd $Mdocdate: September 12 2019 $ .Dt BPF_MTAP 9 .Os .Sh NAME @@ -66,7 +66,7 @@ .Ft int .Fo bpf_mtap_hdr .Fa "caddr_t bpf" -.Fa "caddr_t hdr" +.Fa "const void *hdr" .Fa "u_int hdrlen" .Fa "const struct mbuf *m" .Fa "u_int direction" |