summaryrefslogtreecommitdiffstats
path: root/sys/dev/ed/if_ed.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/dev/ed/if_ed.c
parent71fd17e057eaec0ab952eb46cd1d1dcd78b8183a (diff)
downloadFreeBSD-src-3c4a5a075de68863e7f083e95007a8669ff54a1d.zip
FreeBSD-src-3c4a5a075de68863e7f083e95007a8669ff54a1d.tar.gz
Rename bpfilter to bpf.
Diffstat (limited to 'sys/dev/ed/if_ed.c')
-rw-r--r--sys/dev/ed/if_ed.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/sys/dev/ed/if_ed.c b/sys/dev/ed/if_ed.c
index 8775aa8..d65ac48 100644
--- a/sys/dev/ed/if_ed.c
+++ b/sys/dev/ed/if_ed.c
@@ -24,7 +24,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: if_ed.c,v 1.151 1999/04/16 21:22:20 peter Exp $
+ * $Id: if_ed.c,v 1.152 1999/05/09 23:24:45 peter Exp $
*/
/*
@@ -38,7 +38,7 @@
*/
#include "ed.h"
-#include "bpfilter.h"
+#include "bpf.h"
#include "pnp.h"
#ifndef EXTRA_ED
@@ -65,7 +65,7 @@
#include <net/if_dl.h>
#include <net/if_mib.h>
-#if NBPFILTER > 0
+#if NBPF > 0
#include <net/bpf.h>
#endif
#include "opt_bdg.h"
@@ -1721,7 +1721,7 @@ ed_attach(sc, unit, flags)
/*
* If BPF is in the kernel, call the attach for it
*/
-#if NBPFILTER > 0
+#if NBPF > 0
bpfattach(ifp, DLT_EN10MB, sizeof(struct ether_header));
#endif
return 1;
@@ -2179,7 +2179,7 @@ outloop:
/*
* Tap off here if there is a bpf listener.
*/
-#if NBPFILTER > 0
+#if NBPF > 0
if (ifp->if_bpf) {
bpf_mtap(ifp, m0);
}
@@ -2621,7 +2621,7 @@ ed_ioctl(ifp, command, data)
}
}
-#if NBPFILTER > 0
+#if NBPF > 0
/*
* Promiscuous flag may have changed, so reprogram the RCR.
@@ -2752,7 +2752,7 @@ ed_get_packet(sc, buf, len, multicast)
struct ifnet *ifp ;
int need_more = 1 ; /* in case not bpf */
-#if NBPFILTER > 0
+#if NBPF > 0
if (sc->arpcom.ac_if.if_bpf) {
need_more = 0 ;
ed_ring_copy(sc, buf, (char *)eh, len);
@@ -2783,7 +2783,7 @@ ed_get_packet(sc, buf, len, multicast)
*/
ed_ring_copy(sc, buf, (char *)eh, len);
-#if NBPFILTER > 0
+#if NBPF > 0
/*
* Check if there's a BPF listener on this interface. If so, hand off
OpenPOWER on IntegriCloud