summaryrefslogtreecommitdiffstats
path: root/share/man/man4/bpf.4
diff options
context:
space:
mode:
authormsmith <msmith@FreeBSD.org>1999-10-15 05:07:26 +0000
committermsmith <msmith@FreeBSD.org>1999-10-15 05:07:26 +0000
commita3e3e4e458860bdb5dd475952cb33d5b302484ed (patch)
tree3957e67ffde4a08fc65980d1302d8bf275ab1f40 /share/man/man4/bpf.4
parent010a32d6458bd7e412e002c28e3878b4705e31d4 (diff)
downloadFreeBSD-src-a3e3e4e458860bdb5dd475952cb33d5b302484ed.zip
FreeBSD-src-a3e3e4e458860bdb5dd475952cb33d5b302484ed.tar.gz
Document the use of pseudo_AF_HDRCMPLT with BPF.
Diffstat (limited to 'share/man/man4/bpf.4')
-rw-r--r--share/man/man4/bpf.48
1 files changed, 8 insertions, 0 deletions
diff --git a/share/man/man4/bpf.4 b/share/man/man4/bpf.4
index 27dc243..3d90818 100644
--- a/share/man/man4/bpf.4
+++ b/share/man/man4/bpf.4
@@ -276,6 +276,14 @@ An incompatible filter
may result in undefined behavior (most likely, an error returned by
.Fn ioctl
or haphazard packet matching).
+.It Dv BIOCSHDRCMPLT
+.It Dv BIOCGHDRCMPLT
+.Pq Li u_int
+Set or get the status of the ``header complete'' flag.
+Set to zero if the link level source address should be filled in automatically
+by the the interface output routine. Set to one if the link level source
+address will be written, as provided, to the wire. This flag is initialized
+to zero by default.
.Sh BPF HEADER
The following structure is prepended to each packet returned by
.Xr read 2 :
OpenPOWER on IntegriCloud