From 010a32d6458bd7e412e002c28e3878b4705e31d4 Mon Sep 17 00:00:00 2001 From: msmith Date: Fri, 15 Oct 1999 05:07:00 +0000 Subject: 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" Obtained from: NetBSD --- sys/net/bpf.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'sys/net/bpf.h') 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. -- cgit v1.1