diff options
author | Michael Shalayeff <mickey@cvs.openbsd.org> | 2001-02-20 19:39:49 +0000 |
---|---|---|
committer | Michael Shalayeff <mickey@cvs.openbsd.org> | 2001-02-20 19:39:49 +0000 |
commit | 564b6a39bc60122dd377e657123ba8f3d4a7ccf7 (patch) | |
tree | ad1d5486bcb8cb02e81599277cc10687746dcbe1 /sys/dev/pci/if_devar.h | |
parent | 538f9f995c2e33db913284c36581dd9e7c924f9c (diff) |
for ethernet ifaces attach bpf from ether_ifattach; jason@, aaron@, itojun@ ok
Diffstat (limited to 'sys/dev/pci/if_devar.h')
-rw-r--r-- | sys/dev/pci/if_devar.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/sys/dev/pci/if_devar.h b/sys/dev/pci/if_devar.h index 0f13e025335..1bc0bd48bfc 100644 --- a/sys/dev/pci/if_devar.h +++ b/sys/dev/pci/if_devar.h @@ -1,4 +1,4 @@ -/* $OpenBSD: if_devar.h,v 1.10 2001/02/03 06:10:18 mickey Exp $ */ +/* $OpenBSD: if_devar.h,v 1.11 2001/02/20 19:39:42 mickey Exp $ */ /* $NetBSD: if_devar.h,v 1.13 1997/06/08 18:46:36 thorpej Exp $ */ /*- @@ -952,6 +952,11 @@ extern struct cfdriver de_cd; #define tulip_xname tulip_if.if_xname #endif +#if NBPFILTER > 0 +#define TULIP_BPF_MTAP(sc, m) bpf_mtap((sc)->tulip_if.if_bpf, m) +#define TULIP_BPF_TAP(sc, p, l) bpf_tap((sc)->tulip_if.if_bpf, p, l) +#define TULIP_BPF_ATTACH(sc) +#endif #define TULIP_RAISESPL() splnet() #define TULIP_RAISESOFTSPL() splsoftnet() #define TULIP_RESTORESPL(s) splx(s) |