summaryrefslogtreecommitdiffstats
path: root/sys/dev/lnc
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/lnc
parent71fd17e057eaec0ab952eb46cd1d1dcd78b8183a (diff)
downloadFreeBSD-src-3c4a5a075de68863e7f083e95007a8669ff54a1d.zip
FreeBSD-src-3c4a5a075de68863e7f083e95007a8669ff54a1d.tar.gz
Rename bpfilter to bpf.
Diffstat (limited to 'sys/dev/lnc')
-rw-r--r--sys/dev/lnc/if_lnc.c12
-rw-r--r--sys/dev/lnc/if_lncvar.h4
2 files changed, 8 insertions, 8 deletions
diff --git a/sys/dev/lnc/if_lnc.c b/sys/dev/lnc/if_lnc.c
index f058661..5fc82330 100644
--- a/sys/dev/lnc/if_lnc.c
+++ b/sys/dev/lnc/if_lnc.c
@@ -30,7 +30,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: if_lnc.c,v 1.59 1999/05/06 18:43:57 peter Exp $
+ * $Id: if_lnc.c,v 1.60 1999/05/09 23:24:47 peter Exp $
*/
/*
@@ -64,7 +64,7 @@
#include "lnc.h"
#if NLNC > 0
-#include "bpfilter.h"
+#include "bpf.h"
#include "opt_inet.h"
/* Some defines that should really be in generic locations */
@@ -88,7 +88,7 @@
#include <netinet/if_ether.h>
#endif
-#if NBPFILTER > 0
+#if NBPF > 0
#include <net/bpf.h>
#endif
@@ -613,7 +613,7 @@ lnc_rint(struct lnc_softc *sc)
eh = (struct ether_header *) head->m_data;
-#if NBPFILTER > 0
+#if NBPF > 0
if (sc->arpcom.ac_if.if_bpf)
bpf_mtap(&sc->arpcom.ac_if, head);
#endif
@@ -1295,7 +1295,7 @@ lnc_attach_sc(struct lnc_softc *sc, int unit)
printf("%s", ic_ident[sc->nic.ic]);
printf(" address %6D\n", sc->arpcom.ac_enaddr, ":");
-#if NBPFILTER > 0
+#if NBPF > 0
bpfattach(&sc->arpcom.ac_if, DLT_EN10MB, sizeof(struct ether_header));
#endif
@@ -1809,7 +1809,7 @@ lnc_start(struct ifnet *ifp)
ifp->if_timer = 2;
-#if NBPFILTER > 0
+#if NBPF > 0
if (sc->arpcom.ac_if.if_bpf)
bpf_mtap(&sc->arpcom.ac_if, head);
#endif
diff --git a/sys/dev/lnc/if_lncvar.h b/sys/dev/lnc/if_lncvar.h
index 1075a3e..b2fc532 100644
--- a/sys/dev/lnc/if_lncvar.h
+++ b/sys/dev/lnc/if_lncvar.h
@@ -30,7 +30,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: if_lnc.h,v 1.9 1998/11/26 00:57:32 paul Exp $
+ * $Id: if_lnc.h,v 1.10 1999/01/31 00:56:32 paul Exp $
*/
#include <i386/isa/ic/Am7990.h>
@@ -39,7 +39,7 @@
* Initialize multicast address hashing registers to accept
* all multicasts (only used when in promiscuous mode)
*/
-#if NBPFILTER > 0
+#if NBPF > 0
#define MULTI_INIT_ADDR 0xff
#else
#define MULTI_INIT_ADDR 0
OpenPOWER on IntegriCloud