diff options
author | msmith <msmith@FreeBSD.org> | 1999-10-15 05:07:00 +0000 |
---|---|---|
committer | msmith <msmith@FreeBSD.org> | 1999-10-15 05:07:00 +0000 |
commit | 010a32d6458bd7e412e002c28e3878b4705e31d4 (patch) | |
tree | c7ec9ce93e079a077a5d74249290ab77984e574c /sys/net/bpfdesc.h | |
parent | d21234b78cc7e611247dffae6bf6c15ac69b667a (diff) | |
download | FreeBSD-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/bpfdesc.h')
-rw-r--r-- | sys/net/bpfdesc.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/net/bpfdesc.h b/sys/net/bpfdesc.h index d87cc40..1e638f7 100644 --- a/sys/net/bpfdesc.h +++ b/sys/net/bpfdesc.h @@ -76,6 +76,7 @@ struct bpf_d { u_char bd_promisc; /* true if listening promiscuously */ u_char bd_state; /* idle, waiting, or timed out */ u_char bd_immediate; /* true to return on packet arrival */ + int bd_hdrcmplt; /* false to fill in src lladdr automatically */ int bd_async; /* non-zero if packet reception should generate signal */ int bd_sig; /* signal to send upon packet reception */ struct sigio * bd_sigio; /* information for async I/O */ |