summaryrefslogtreecommitdiffstats
path: root/sys/pc98/cbus/olpt.c
diff options
context:
space:
mode:
authordes <des@FreeBSD.org>1999-07-06 19:23:32 +0000
committerdes <des@FreeBSD.org>1999-07-06 19:23:32 +0000
commit3c4a5a075de68863e7f083e95007a8669ff54a1d (patch)
tree04c67d5ff85a81c06638fa69415cc80858136f6c /sys/pc98/cbus/olpt.c
parent71fd17e057eaec0ab952eb46cd1d1dcd78b8183a (diff)
downloadFreeBSD-src-3c4a5a075de68863e7f083e95007a8669ff54a1d.zip
FreeBSD-src-3c4a5a075de68863e7f083e95007a8669ff54a1d.tar.gz
Rename bpfilter to bpf.
Diffstat (limited to 'sys/pc98/cbus/olpt.c')
-rw-r--r--sys/pc98/cbus/olpt.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/sys/pc98/cbus/olpt.c b/sys/pc98/cbus/olpt.c
index 57caf91..5faeae4 100644
--- a/sys/pc98/cbus/olpt.c
+++ b/sys/pc98/cbus/olpt.c
@@ -46,7 +46,7 @@
* SUCH DAMAGE.
*
* from: unknown origin, 386BSD 0.1
- * $Id$
+ * $Id: olpt.c,v 1.1 1999/06/18 14:48:26 kato Exp $
*/
/*
@@ -145,8 +145,8 @@
#include <net/netisr.h>
#include <netinet/in.h>
#include <netinet/in_var.h>
-#include "bpfilter.h"
-#if NBPFILTER > 0
+#include "bpf.h"
+#if NBPF > 0
#include <net/bpf.h>
#endif
#endif /* INET */
@@ -958,7 +958,7 @@ lpattach (struct lpt_softc *sc, int unit)
if_attach(ifp);
printf("lp%d: TCP/IP capable interface\n", unit);
-#if NBPFILTER > 0
+#if NBPF > 0
bpfattach(ifp, DLT_NULL, LPIPHDRLEN);
#endif
}
@@ -1232,7 +1232,7 @@ lpintr (int unit)
IF_DROP(&ipintrq);
goto done;
}
-#if NBPFILTER > 0
+#if NBPF > 0
if (sc->sc_if.if_bpf) {
bpf_tap(&sc->sc_if, sc->sc_ifbuf, len);
}
@@ -1424,7 +1424,7 @@ lpoutput (struct ifnet *ifp, struct mbuf *m,
} else {
ifp->if_opackets++;
ifp->if_obytes += m->m_pkthdr.len;
-#if NBPFILTER > 0
+#if NBPF > 0
if (ifp->if_bpf) {
/*
* We need to prepend the packet type as
OpenPOWER on IntegriCloud