summaryrefslogtreecommitdiffstats
path: root/sys/net/bpf.h
diff options
context:
space:
mode:
authormsmith <msmith@FreeBSD.org>1999-10-15 05:07:00 +0000
committermsmith <msmith@FreeBSD.org>1999-10-15 05:07:00 +0000
commit010a32d6458bd7e412e002c28e3878b4705e31d4 (patch)
treec7ec9ce93e079a077a5d74249290ab77984e574c /sys/net/bpf.h
parentd21234b78cc7e611247dffae6bf6c15ac69b667a (diff)
downloadFreeBSD-src-010a32d6458bd7e412e002c28e3878b4705e31d4.zip
FreeBSD-src-010a32d6458bd7e412e002c28e3878b4705e31d4.tar.gz
Implement pseudo_AF_HDRCMPLT, which controls the state of the 'header
completion' flag. If set, the interface output routine will assume that the packet already has a valid link-level source address. This defaults to off (the address is overwritten) PR: kern/10680 Submitted by: "Christopher N . Harrell" <cnh@mindspring.net> Obtained from: NetBSD
Diffstat (limited to 'sys/net/bpf.h')
-rw-r--r--sys/net/bpf.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/net/bpf.h b/sys/net/bpf.h
index fa5e46c..64e1602 100644
--- a/sys/net/bpf.h
+++ b/sys/net/bpf.h
@@ -111,6 +111,8 @@ struct bpf_version {
#define BIOCVERSION _IOR('B',113, struct bpf_version)
#define BIOCGRSIG _IOR('B',114, u_int)
#define BIOCSRSIG _IOW('B',115, u_int)
+#define BIOCGHDRCMPLT _IOR('B',116, u_int)
+#define BIOCSHDRCMPLT _IOW('B',117, u_int)
/*
* Structure prepended to each packet.
OpenPOWER on IntegriCloud