diff options
author | des <des@FreeBSD.org> | 1999-07-06 19:23:32 +0000 |
---|---|---|
committer | des <des@FreeBSD.org> | 1999-07-06 19:23:32 +0000 |
commit | 3c4a5a075de68863e7f083e95007a8669ff54a1d (patch) | |
tree | 04c67d5ff85a81c06638fa69415cc80858136f6c /sys/net/if_ppp.c | |
parent | 71fd17e057eaec0ab952eb46cd1d1dcd78b8183a (diff) | |
download | FreeBSD-src-3c4a5a075de68863e7f083e95007a8669ff54a1d.zip FreeBSD-src-3c4a5a075de68863e7f083e95007a8669ff54a1d.tar.gz |
Rename bpfilter to bpf.
Diffstat (limited to 'sys/net/if_ppp.c')
-rw-r--r-- | sys/net/if_ppp.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/sys/net/if_ppp.c b/sys/net/if_ppp.c index c552a41..a1490bb 100644 --- a/sys/net/if_ppp.c +++ b/sys/net/if_ppp.c @@ -69,7 +69,7 @@ * Paul Mackerras (paulus@cs.anu.edu.au). */ -/* $Id: if_ppp.c,v 1.59 1998/06/20 16:28:01 peter Exp $ */ +/* $Id: if_ppp.c,v 1.60 1999/04/27 11:17:00 phk Exp $ */ /* from if_sl.c,v 1.11 84/10/04 12:54:47 rick Exp */ /* from NetBSD: if_ppp.c,v 1.15.2.2 1994/07/28 05:17:58 cgd Exp */ @@ -112,12 +112,12 @@ #include <netipx/ipx_if.h> #endif -#include "bpfilter.h" -#if NBPFILTER > 0 +#include "bpf.h" +#if NBPF > 0 #include <net/bpf.h> #endif -#if defined(PPP_FILTER) && NBPFILTER == 0 +#if defined(PPP_FILTER) && NBPF == 0 #error "PPP_FILTER requires bpf" #endif @@ -221,7 +221,7 @@ pppattach(dummy) sc->sc_fastq.ifq_maxlen = IFQ_MAXLEN; sc->sc_rawq.ifq_maxlen = IFQ_MAXLEN; if_attach(&sc->sc_if); -#if NBPFILTER > 0 +#if NBPF > 0 bpfattach(&sc->sc_if, DLT_PPP, PPP_HDRLEN); #endif } @@ -828,7 +828,7 @@ pppoutput(ifp, m0, dst, rtp) #endif /* PPP_FILTER */ } -#if NBPFILTER > 0 +#if NBPF > 0 /* * See if bpf wants to look at the packet. */ @@ -1463,7 +1463,7 @@ ppp_inproc(sc, m) #endif /* PPP_FILTER */ } -#if NBPFILTER > 0 +#if NBPF > 0 /* See if bpf wants to look at the packet. */ if (sc->sc_if.if_bpf) bpf_mtap(&sc->sc_if, m); |