Document the use of pseudo_AF_HDRCMPLT with BPF.
This commit is contained in:
parent
114ae644b5
commit
caa4ea97c1
@ -276,6 +276,14 @@ An incompatible filter
|
|||||||
may result in undefined behavior (most likely, an error returned by
|
may result in undefined behavior (most likely, an error returned by
|
||||||
.Fn ioctl
|
.Fn ioctl
|
||||||
or haphazard packet matching).
|
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
|
.Sh BPF HEADER
|
||||||
The following structure is prepended to each packet returned by
|
The following structure is prepended to each packet returned by
|
||||||
.Xr read 2 :
|
.Xr read 2 :
|
||||||
|
Loading…
x
Reference in New Issue
Block a user