aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/ar
diff options
context:
space:
mode:
authorDag-Erling Smørgrav <des@FreeBSD.org>1999-07-06 19:23:32 +0000
committerDag-Erling Smørgrav <des@FreeBSD.org>1999-07-06 19:23:32 +0000
commit6b5ca0d83e52d5a5cc1001854eb33f1c31deb9db (patch)
treeb98f1bc83e7c922d703d35e16ba75d62d320a917 /sys/dev/ar
parent14802b60922f833994d6371b3e5510e9135abaf4 (diff)
Notes
Diffstat (limited to 'sys/dev/ar')
-rw-r--r--sys/dev/ar/if_ar.c12
-rw-r--r--sys/dev/ar/if_ar_isa.c12
2 files changed, 12 insertions, 12 deletions
diff --git a/sys/dev/ar/if_ar.c b/sys/dev/ar/if_ar.c
index 556a4a1c48a2e..66771534bbf03 100644
--- a/sys/dev/ar/if_ar.c
+++ b/sys/dev/ar/if_ar.c
@@ -28,7 +28,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: if_ar.c,v 1.25 1999/03/30 13:28:22 phk Exp $
+ * $Id: if_ar.c,v 1.26 1999/05/06 18:58:04 peter Exp $
*/
/*
@@ -49,7 +49,7 @@
*/
#include "ar.h"
-#include "bpfilter.h"
+#include "bpf.h"
#include <sys/param.h>
#include <sys/systm.h>
@@ -61,7 +61,7 @@
#include <net/if.h>
#include <net/if_sppp.h>
-#if NBPFILTER > 0
+#if NBPF > 0
#include <net/bpf.h>
#endif
@@ -357,7 +357,7 @@ arattach(struct isa_device *id)
sppp_attach((struct ifnet *)&sc->ifsppp);
if_attach(ifp);
-#if NBPFILTER > 0
+#if NBPF > 0
bpfattach(ifp, DLT_PPP, PPP_HEADER_LEN);
#endif
}
@@ -537,7 +537,7 @@ top_arstart:
txdata += AR_BUF_SIZ;
i++;
-#if NBPFILTER > 0
+#if NBPF > 0
if(ifp->if_bpf)
bpf_mtap(ifp, mtx);
#endif
@@ -1299,7 +1299,7 @@ ar_get_packets(struct ar_softc *sc)
}
}
ar_copy_rxbuf(m, sc, len);
-#if NBPFILTER > 0
+#if NBPF > 0
if(sc->ifsppp.pp_if.if_bpf)
bpf_mtap(&sc->ifsppp.pp_if, m);
#endif
diff --git a/sys/dev/ar/if_ar_isa.c b/sys/dev/ar/if_ar_isa.c
index 556a4a1c48a2e..66771534bbf03 100644
--- a/sys/dev/ar/if_ar_isa.c
+++ b/sys/dev/ar/if_ar_isa.c
@@ -28,7 +28,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: if_ar.c,v 1.25 1999/03/30 13:28:22 phk Exp $
+ * $Id: if_ar.c,v 1.26 1999/05/06 18:58:04 peter Exp $
*/
/*
@@ -49,7 +49,7 @@
*/
#include "ar.h"
-#include "bpfilter.h"
+#include "bpf.h"
#include <sys/param.h>
#include <sys/systm.h>
@@ -61,7 +61,7 @@
#include <net/if.h>
#include <net/if_sppp.h>
-#if NBPFILTER > 0
+#if NBPF > 0
#include <net/bpf.h>
#endif
@@ -357,7 +357,7 @@ arattach(struct isa_device *id)
sppp_attach((struct ifnet *)&sc->ifsppp);
if_attach(ifp);
-#if NBPFILTER > 0
+#if NBPF > 0
bpfattach(ifp, DLT_PPP, PPP_HEADER_LEN);
#endif
}
@@ -537,7 +537,7 @@ top_arstart:
txdata += AR_BUF_SIZ;
i++;
-#if NBPFILTER > 0
+#if NBPF > 0
if(ifp->if_bpf)
bpf_mtap(ifp, mtx);
#endif
@@ -1299,7 +1299,7 @@ ar_get_packets(struct ar_softc *sc)
}
}
ar_copy_rxbuf(m, sc, len);
-#if NBPFILTER > 0
+#if NBPF > 0
if(sc->ifsppp.pp_if.if_bpf)
bpf_mtap(&sc->ifsppp.pp_if, m);
#endif