summaryrefslogtreecommitdiffstats
path: root/sys/net/bpfdesc.h
diff options
context:
space:
mode:
authorrwatson <rwatson@FreeBSD.org>2007-01-27 18:12:50 +0000
committerrwatson <rwatson@FreeBSD.org>2007-01-27 18:12:50 +0000
commit708b428377776522dfab66a470d465a383b5d73f (patch)
treed776366f60362f5453fbb7462d819f2579432dc1 /sys/net/bpfdesc.h
parentebd5cdbc2e17d86cc03a63c9ce66211fc8d39cbe (diff)
downloadFreeBSD-src-708b428377776522dfab66a470d465a383b5d73f.zip
FreeBSD-src-708b428377776522dfab66a470d465a383b5d73f.tar.gz
Remove BSD < 199103 compatibility entries in the bpf_d structure: they are
not used in any of our code. Also remove explicit padding variable that kept the bpf_d structure the same size before and after the change in select implementation, since binary compatibility is not required for this data structure on 7-CURRENT.
Diffstat (limited to 'sys/net/bpfdesc.h')
-rw-r--r--sys/net/bpfdesc.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/sys/net/bpfdesc.h b/sys/net/bpfdesc.h
index de1557a..a48590d 100644
--- a/sys/net/bpfdesc.h
+++ b/sys/net/bpfdesc.h
@@ -85,14 +85,7 @@ struct bpf_d {
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 */
-#if BSD < 199103
- u_char bd_selcoll; /* true if selects collide */
- int bd_timedout;
- struct thread * bd_selthread; /* process that last selected us */
-#else
- u_char bd_pad; /* explicit alignment */
struct selinfo bd_sel; /* bsd select info */
-#endif
struct mtx bd_mtx; /* mutex for this descriptor */
struct callout bd_callout; /* for BPF timeouts with select */
struct label *bd_label; /* MAC label for descriptor */
OpenPOWER on IntegriCloud