summaryrefslogtreecommitdiffstats
path: root/sys/i386/isa/if_cx.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/i386/isa/if_cx.c
parent71fd17e057eaec0ab952eb46cd1d1dcd78b8183a (diff)
downloadFreeBSD-src-3c4a5a075de68863e7f083e95007a8669ff54a1d.zip
FreeBSD-src-3c4a5a075de68863e7f083e95007a8669ff54a1d.tar.gz
Rename bpfilter to bpf.
Diffstat (limited to 'sys/i386/isa/if_cx.c')
-rw-r--r--sys/i386/isa/if_cx.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/i386/isa/if_cx.c b/sys/i386/isa/if_cx.c
index db417af..260a1c2 100644
--- a/sys/i386/isa/if_cx.c
+++ b/sys/i386/isa/if_cx.c
@@ -19,7 +19,7 @@
#undef DEBUG
#include "cx.h"
-#include "bpfilter.h"
+#include "bpf.h"
#include "opt_devfs.h"
#include "sppp.h"
@@ -38,7 +38,7 @@
#include <net/if.h>
-#if NBPFILTER > 0
+#if NBPF > 0
#include <net/bpf.h>
#endif
@@ -285,7 +285,7 @@ cxattach (struct isa_device *id)
sppp_attach (c->ifp);
if_attach (c->ifp);
sp = (struct sppp*) c->ifp;
-#if NBPFILTER > 0
+#if NBPF > 0
/* If BPF is in the kernel, call the attach for it. */
bpfattach (c->ifp, DLT_PPP, PPP_HEADER_LEN);
#endif
@@ -481,7 +481,7 @@ cxput (cx_chan_t *c, char b)
return;
}
m_copydata (m, 0, len, buf);
-#if NBPFILTER > 0
+#if NBPF > 0
if (c->ifp->if_bpf)
bpf_mtap (c->ifp, m);
#endif
@@ -805,7 +805,7 @@ cxinput (cx_chan_t *c, void *buf, unsigned len)
printmbuf (m);
#endif
-#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