From 3c4a5a075de68863e7f083e95007a8669ff54a1d Mon Sep 17 00:00:00 2001 From: des Date: Tue, 6 Jul 1999 19:23:32 +0000 Subject: Rename bpfilter to bpf. --- sys/i386/isa/if_cx.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'sys/i386/isa/if_cx.c') 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 -#if NBPFILTER > 0 +#if NBPF > 0 #include #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. -- cgit v1.1