summaryrefslogtreecommitdiffstats
path: root/sys/i4b/driver
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/i4b/driver
parent71fd17e057eaec0ab952eb46cd1d1dcd78b8183a (diff)
downloadFreeBSD-src-3c4a5a075de68863e7f083e95007a8669ff54a1d.zip
FreeBSD-src-3c4a5a075de68863e7f083e95007a8669ff54a1d.tar.gz
Rename bpfilter to bpf.
Diffstat (limited to 'sys/i4b/driver')
-rw-r--r--sys/i4b/driver/i4b_ipr.c16
-rw-r--r--sys/i4b/driver/i4b_isppp.c16
2 files changed, 16 insertions, 16 deletions
diff --git a/sys/i4b/driver/i4b_ipr.c b/sys/i4b/driver/i4b_ipr.c
index a427605..5415dda 100644
--- a/sys/i4b/driver/i4b_ipr.c
+++ b/sys/i4b/driver/i4b_ipr.c
@@ -27,7 +27,7 @@
* i4b_ipr.c - isdn4bsd IP over raw HDLC ISDN network driver
* ---------------------------------------------------------
*
- * $Id: i4b_ipr.c,v 1.51 1999/05/06 08:24:45 hm Exp $
+ * $Id: i4b_ipr.c,v 1.4 1999/05/20 10:08:58 hm Exp $
*
* last edit-date: [Thu May 6 10:09:20 1999]
*
@@ -110,8 +110,8 @@
/* undef to uncompress in the mbuf itself */
#endif /* IPR_VJ */
-#include "bpfilter.h"
-#if NBPFILTER > 0
+#include "bpf.h"
+#if NBPF > 0
#include <sys/time.h>
#include <net/bpf.h>
#endif
@@ -350,7 +350,7 @@ i4biprattach()
if_attach(&sc->sc_if);
-#if NBPFILTER > 0
+#if NBPF > 0
#ifdef __FreeBSD__
bpfattach(&sc->sc_if, DLT_NULL, sizeof(u_int));
#else
@@ -994,7 +994,7 @@ error:
sc->sc_inb += m->m_pkthdr.len;
#endif
-#if NBPFILTER > 0
+#if NBPF > 0
if(sc->sc_if.if_bpf)
{
/* prepend the address family as a four byte field */
@@ -1010,7 +1010,7 @@ error:
bpf_mtap(sc->sc_if.if_bpf, &mm);
#endif
}
-#endif /* NBPFILTER > 0 */
+#endif /* NBPF > 0 */
if(IF_QFULL(&ipintrq))
{
@@ -1062,7 +1062,7 @@ ipr_tx_queue_empty(int unit)
microtime(&sc->sc_if.if_lastchange);
-#if NBPFILTER > 0
+#if NBPF > 0
if(sc->sc_if.if_bpf)
{
/* prepend the address family as a four byte field */
@@ -1079,7 +1079,7 @@ ipr_tx_queue_empty(int unit)
bpf_mtap(sc->sc_if.if_bpf, &mm);
#endif
}
-#endif /* NBPFILTER */
+#endif /* NBPF */
#if I4BIPRACCT
sc->sc_outb += m->m_pkthdr.len; /* size before compression */
diff --git a/sys/i4b/driver/i4b_isppp.c b/sys/i4b/driver/i4b_isppp.c
index 9dc0eff..eef0997 100644
--- a/sys/i4b/driver/i4b_isppp.c
+++ b/sys/i4b/driver/i4b_isppp.c
@@ -34,7 +34,7 @@
* the "cx" driver for Cronyx's HDLC-in-hardware device). This driver
* is only the glue between sppp and i4b.
*
- * $Id: i4b_isppp.c,v 1.27 1999/05/03 08:48:25 hm Exp $
+ * $Id: i4b_isppp.c,v 1.3 1999/05/20 10:09:01 hm Exp $
*
* last edit-date: [Sun May 2 10:52:57 1999]
*
@@ -74,8 +74,8 @@
#include <netinet/in_var.h>
#include <netinet/ip.h>
-#include "bpfilter.h"
-#if NBPFILTER > 0
+#include "bpf.h"
+#if NBPF > 0
#include <sys/time.h>
#include <net/bpf.h>
#endif
@@ -290,7 +290,7 @@ i4bispppattach(void)
sppp_attach(&sc->sc_if);
if_attach(&sc->sc_if);
-#if NBPFILTER > 0
+#if NBPF > 0
#ifdef __FreeBSD__
bpfattach(&sc->sc_if, DLT_PPP, PPP_HDRLEN);
CALLOUT_INIT(&sc->sc_ch);
@@ -361,7 +361,7 @@ i4bisppp_start(struct ifnet *ifp)
while ((m = sppp_dequeue(&sc->sc_if)) != NULL)
{
-#if NBPFILTER > 0
+#if NBPF > 0
#ifdef __FreeBSD__
if (ifp->if_bpf)
bpf_mtap(ifp, m);
@@ -371,7 +371,7 @@ i4bisppp_start(struct ifnet *ifp)
if (ifp->if_bpf)
bpf_mtap(ifp->if_bpf, m);
#endif
-#endif /* NBPFILTER > 0 */
+#endif /* NBPF > 0 */
microtime(&ifp->if_lastchange);
@@ -654,7 +654,7 @@ i4bisppp_rx_data_rdy(int unit)
printf("i4bisppp_rx_data_ready: received packet!\n");
#endif
-#if NBPFILTER > 0
+#if NBPF > 0
#ifdef __FreeBSD__
if(sc->sc_if.if_bpf)
@@ -666,7 +666,7 @@ i4bisppp_rx_data_rdy(int unit)
bpf_mtap(sc->sc_if.if_bpf, m);
#endif
-#endif /* NBPFILTER > 0 */
+#endif /* NBPF > 0 */
s = splimp();
OpenPOWER on IntegriCloud