summaryrefslogtreecommitdiffstats
path: root/sys/pci/if_wb.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/pci/if_wb.c
parent71fd17e057eaec0ab952eb46cd1d1dcd78b8183a (diff)
downloadFreeBSD-src-3c4a5a075de68863e7f083e95007a8669ff54a1d.zip
FreeBSD-src-3c4a5a075de68863e7f083e95007a8669ff54a1d.tar.gz
Rename bpfilter to bpf.
Diffstat (limited to 'sys/pci/if_wb.c')
-rw-r--r--sys/pci/if_wb.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/sys/pci/if_wb.c b/sys/pci/if_wb.c
index 5d51c3c..371ade7 100644
--- a/sys/pci/if_wb.c
+++ b/sys/pci/if_wb.c
@@ -29,7 +29,7 @@
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
* THE POSSIBILITY OF SUCH DAMAGE.
*
- * $Id: if_wb.c,v 1.10 1999/05/13 20:36:00 wpaul Exp $
+ * $Id: if_wb.c,v 1.11 1999/07/02 04:17:16 peter Exp $
*/
/*
@@ -83,7 +83,7 @@
* three of my test boards seems fine.
*/
-#include "bpfilter.h"
+#include "bpf.h"
#include <sys/param.h>
#include <sys/systm.h>
@@ -99,7 +99,7 @@
#include <net/if_dl.h>
#include <net/if_media.h>
-#if NBPFILTER > 0
+#if NBPF > 0
#include <net/bpf.h>
#endif
@@ -121,7 +121,7 @@
#ifndef lint
static const char rcsid[] =
- "$Id: if_wb.c,v 1.10 1999/05/13 20:36:00 wpaul Exp $";
+ "$Id: if_wb.c,v 1.11 1999/07/02 04:17:16 peter Exp $";
#endif
/*
@@ -1228,7 +1228,7 @@ wb_attach(config_id, unit)
if_attach(ifp);
ether_ifattach(ifp);
-#if NBPFILTER > 0
+#if NBPF > 0
bpfattach(ifp, DLT_EN10MB, sizeof(struct ether_header));
#endif
at_shutdown(wb_shutdown, sc, SHUTDOWN_POST_SYNC);
@@ -1423,7 +1423,7 @@ static void wb_rxeof(sc)
ifp->if_ipackets++;
eh = mtod(m, struct ether_header *);
-#if NBPFILTER > 0
+#if NBPF > 0
/*
* Handle BPF listeners. Let the BPF user see the packet, but
* don't pass it up to the ether_input() layer unless it's
@@ -1772,7 +1772,7 @@ static void wb_start(ifp)
if (cur_tx != start_tx)
WB_TXOWN(cur_tx) = WB_TXSTAT_OWN;
-#if NBPFILTER > 0
+#if NBPF > 0
/*
* If there's a BPF listener, bounce a copy of this frame
* to him.
OpenPOWER on IntegriCloud