From caa4ea97c14820674047b8d29c2d6470c9f6184a Mon Sep 17 00:00:00 2001 From: Mike Smith Date: Fri, 15 Oct 1999 05:07:26 +0000 Subject: [PATCH] Document the use of pseudo_AF_HDRCMPLT with BPF. --- share/man/man4/bpf.4 | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/share/man/man4/bpf.4 b/share/man/man4/bpf.4 index 27dc243477b0..3d908182ed4e 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 :