summaryrefslogtreecommitdiffstats
path: root/sys/dev/vx
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/vx
parent71fd17e057eaec0ab952eb46cd1d1dcd78b8183a (diff)
downloadFreeBSD-src-3c4a5a075de68863e7f083e95007a8669ff54a1d.zip
FreeBSD-src-3c4a5a075de68863e7f083e95007a8669ff54a1d.tar.gz
Rename bpfilter to bpf.
Diffstat (limited to 'sys/dev/vx')
-rw-r--r--sys/dev/vx/if_vx.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/sys/dev/vx/if_vx.c b/sys/dev/vx/if_vx.c
index c401839..62cd9eb 100644
--- a/sys/dev/vx/if_vx.c
+++ b/sys/dev/vx/if_vx.c
@@ -27,7 +27,7 @@
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
- * $Id: if_vx.c,v 1.19 1999/01/12 02:09:31 eivind Exp $
+ * $Id: if_vx.c,v 1.20 1999/01/27 20:09:20 dillon Exp $
*
*/
@@ -62,7 +62,7 @@
#define NVX 4
#endif
-#include "bpfilter.h"
+#include "bpf.h"
#include <sys/param.h>
#include <sys/systm.h>
@@ -76,7 +76,7 @@
#include <net/ethernet.h>
#include <net/if_arp.h>
-#if NBPFILTER > 0
+#if NBPF > 0
#include <net/bpf.h>
#endif
@@ -216,7 +216,7 @@ vxattach(sc)
if_attach(ifp);
ether_ifattach(ifp);
-#if NBPFILTER > 0
+#if NBPF > 0
bpfattach(ifp, DLT_EN10MB, sizeof(struct ether_header));
#endif
@@ -496,7 +496,7 @@ startagain:
outw(BASE + VX_COMMAND, SET_TX_START_THRESH |
((len / 4 + sc->tx_start_thresh) >> 2));
-#if NBPFILTER > 0
+#if NBPF > 0
if (sc->arpcom.ac_if.if_bpf) {
bpf_mtap(&sc->arpcom.ac_if, m0);
}
@@ -745,7 +745,7 @@ again:
/* We assume the header fit entirely in one mbuf. */
eh = mtod(m, struct ether_header *);
-#if NBPFILTER > 0
+#if NBPF > 0
/*
* Check if there's a BPF listener on this interface.
* If so, hand off the raw packet to BPF.
OpenPOWER on IntegriCloud