summaryrefslogtreecommitdiffstats
path: root/sys/dev/fxp/if_fxp.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/fxp/if_fxp.c')
-rw-r--r--sys/dev/fxp/if_fxp.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/sys/dev/fxp/if_fxp.c b/sys/dev/fxp/if_fxp.c
index b7e25e5..724668c 100644
--- a/sys/dev/fxp/if_fxp.c
+++ b/sys/dev/fxp/if_fxp.c
@@ -27,14 +27,14 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: if_fxp.c,v 1.68 1999/05/08 21:59:39 dfr Exp $
+ * $Id: if_fxp.c,v 1.69 1999/05/09 10:45:54 peter Exp $
*/
/*
* Intel EtherExpress Pro/100B PCI Fast Ethernet driver
*/
-#include "bpfilter.h"
+#include "bpf.h"
#include <sys/param.h>
#include <sys/systm.h>
@@ -52,7 +52,7 @@
#include <netns/ns_if.h>
#endif
-#if NBPFILTER > 0
+#if NBPF > 0
#include <net/bpf.h>
#endif
@@ -419,7 +419,7 @@ fxp_attach(parent, self, aux)
*/
ifp->if_snd.ifq_maxlen = FXP_NTXCB - 1;
ether_ifattach(ifp, enaddr);
-#if NBPFILTER > 0
+#if NBPF > 0
bpfattach(&sc->sc_ethercom.ec_if.if_bpf, ifp, DLT_EN10MB,
sizeof(struct ether_header));
#endif
@@ -598,7 +598,7 @@ fxp_attach(device_t dev)
*/
ifp->if_snd.ifq_maxlen = FXP_NTXCB - 1;
ether_ifattach(ifp);
-#if NBPFILTER > 0
+#if NBPF > 0
bpfattach(ifp, DLT_EN10MB, sizeof(struct ether_header));
#endif
@@ -988,7 +988,7 @@ tbdinit:
sc->tx_queued++;
-#if NBPFILTER > 0
+#if NBPF > 0
/*
* Pass packet to bpf if there is a listener.
*/
@@ -1097,12 +1097,12 @@ rcvloop:
m->m_pkthdr.len = m->m_len =
total_len ;
eh = mtod(m, struct ether_header *);
-#if NBPFILTER > 0
+#if NBPF > 0
if (ifp->if_bpf)
bpf_tap(FXP_BPFTAP_ARG(ifp),
mtod(m, caddr_t),
total_len);
-#endif /* NBPFILTER > 0 */
+#endif /* NBPF > 0 */
#ifdef BRIDGE
if (do_bridge) {
struct ifnet *bdg_ifp ;
OpenPOWER on IntegriCloud