summaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
authorDamien Miller <djm@cvs.openbsd.org>2006-03-25 23:00:27 +0000
committerDamien Miller <djm@cvs.openbsd.org>2006-03-25 23:00:27 +0000
commite317a5b60f8b35f7ae8d35c9d75a1505898e1692 (patch)
tree419ecb910975a5b0aab3bd9a4b90695917dda4db /share
parent24436414aab60dc84348ec54f23b324b4ae862a3 (diff)
document BIOCGDIRFILT/BIOCSDIRFILT ioctls
sync/sort the list of allowed ioctls under BIOCLOCK too
Diffstat (limited to 'share')
-rw-r--r--share/man/man4/bpf.426
1 files changed, 20 insertions, 6 deletions
diff --git a/share/man/man4/bpf.4 b/share/man/man4/bpf.4
index 9bd24dbc825..cc6c6ef8019 100644
--- a/share/man/man4/bpf.4
+++ b/share/man/man4/bpf.4
@@ -1,4 +1,4 @@
-.\" $OpenBSD: bpf.4,v 1.27 2005/11/03 20:00:18 reyk Exp $
+.\" $OpenBSD: bpf.4,v 1.28 2006/03/25 23:00:26 djm Exp $
.\" $NetBSD: bpf.4,v 1.7 1995/09/27 18:31:50 thorpej Exp $
.\"
.\" Copyright (c) 1990 The Regents of the University of California.
@@ -227,17 +227,20 @@ ioctls, the
.Dv BIOCLOCK
ioctl prevents this abuse.
The allowable ioctls are
-.Dv BIOCGBLEN ,
.Dv BIOCFLUSH ,
+.Dv BIOCGBLEN ,
+.Dv BIOCGDIRFILT ,
.Dv BIOCGDLT ,
+.Dv BIOCGDLTLIST ,
.Dv BIOCGETIF ,
+.Dv BIOCGHDRCMPLT ,
+.Dv BIOCGRSIG ,
.Dv BIOCGRTIMEOUT ,
-.Dv BIOCSRTIMEOUT ,
-.Dv BIOCIMMEDIATE ,
.Dv BIOCGSTATS ,
+.Dv BIOCIMMEDIATE ,
+.Dv BIOCLOCK ,
+.Dv BIOCSRTIMEOUT ,
.Dv BIOCVERSION ,
-.Dv BIOCGRSIG ,
-.Dv BIOCGHDRCMPLT ,
.Dv TIOCGPGRP ,
and
.Dv FIONREAD .
@@ -413,6 +416,17 @@ Get or set the status of the
flag.
If non-zero, packets matching any filters will be reported to the
associated interface so that they can be dropped.
+.Pp
+.It Dv BIOCGDIRFILT Fa "u_int *"
+.It Dv BIOCSDIRFILT Fa "u_int *"
+Get or set the status of the
+.Dq direction filter
+flag.
+If non-zero, packets matching the specified direction (either
+.Dv BPF_DIRECTION_IN
+or
+.Dv BPF_DIRECTION_OUT )
+will be ignored.
.El
.Ss Standard ioctls
.Nm