summaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
authorDug Song <dugsong@cvs.openbsd.org>2001-05-28 19:51:07 +0000
committerDug Song <dugsong@cvs.openbsd.org>2001-05-28 19:51:07 +0000
commit003b06d76be118f7d0071a6b79dd42e11590fce2 (patch)
tree617e45e542da0ade707be8ec2038535a5bcc214f /share
parent8448a6e5ece6a73c5a4ce842966a9c198f74284f (diff)
add BIOC[GS]HDRCMPLT ioctl for BPF, to disable overwriting of link level source address in forged frames. from NetBSD. art@ok
Diffstat (limited to 'share')
-rw-r--r--share/man/man4/bpf.410
1 files changed, 9 insertions, 1 deletions
diff --git a/share/man/man4/bpf.4 b/share/man/man4/bpf.4
index 3f21709f634..76b815feb7a 100644
--- a/share/man/man4/bpf.4
+++ b/share/man/man4/bpf.4
@@ -1,4 +1,4 @@
-.\" $OpenBSD: bpf.4,v 1.7 2001/03/26 05:36:06 aaron Exp $
+.\" $OpenBSD: bpf.4,v 1.8 2001/05/28 19:51:06 dugsong 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.
@@ -269,6 +269,14 @@ This signal will be sent to the process or process group specified by
.Dv FIOSETOWN .
It defaults to
.Dv SIGIO .
+.It Xo Dv BIOCSHDRCMPLT , Dv BIOCGHDRCMPLT (
+.Li u_int Ns No )
+.Xc
+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.
.El
.Ss Standard ioctls
.Nm