Change PPP_FILTER into NBPFILTER to fix kernel compilation.
It should probably be changed in ppp_tty.c for consistency but I'll let Brian deal with this. Forgotten by: brian
This commit is contained in:
parent
b6a8ab8abe
commit
bcb06c750a
@ -16,7 +16,7 @@
|
||||
* IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
|
||||
* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
|
||||
*
|
||||
* $Id$
|
||||
* $Id: if_ppp.h,v 1.9 1997/08/19 14:10:45 peter Exp $
|
||||
*/
|
||||
|
||||
#ifndef _IF_PPP_H_
|
||||
@ -116,10 +116,10 @@ struct ifpppcstatsreq {
|
||||
#define PPPIOCGNPMODE _IOWR('t', 76, struct npioctl) /* get NP mode */
|
||||
#define PPPIOCSNPMODE _IOW('t', 75, struct npioctl) /* set NP mode */
|
||||
#define PPPIOCGIDLE _IOR('t', 74, struct ppp_idle) /* get idle time */
|
||||
#ifdef PPP_FILTER
|
||||
#ifdef NBPFILTER
|
||||
#define PPPIOCSPASS _IOW('t', 71, struct bpf_program) /* set pass filter */
|
||||
#define PPPIOCSACTIVE _IOW('t', 70, struct bpf_program) /* set active filt */
|
||||
#endif /* PPP_FILTER */
|
||||
#endif /* NBPFILTER */
|
||||
|
||||
/* PPPIOC[GS]MTU are alternatives to SIOC[GS]IFMTU, used under Ultrix */
|
||||
#define PPPIOCGMTU _IOR('t', 73, int) /* get interface MTU */
|
||||
|
@ -39,7 +39,7 @@
|
||||
* IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
|
||||
* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
|
||||
*
|
||||
* $Id: if_pppvar.h,v 1.8 1997/08/19 14:10:45 peter Exp $
|
||||
* $Id: if_pppvar.h,v 1.9 1997/09/21 22:00:59 gibbs Exp $
|
||||
*/
|
||||
|
||||
/*
|
||||
@ -76,10 +76,10 @@ struct ppp_softc {
|
||||
void *sc_rc_state; /* receive decompressor state */
|
||||
time_t sc_last_sent; /* time (secs) last NP pkt sent */
|
||||
time_t sc_last_recv; /* time (secs) last NP pkt rcvd */
|
||||
#ifdef PPP_FILTER
|
||||
#ifdef NBPFILTER
|
||||
struct bpf_program sc_pass_filt; /* filter for packets to pass */
|
||||
struct bpf_program sc_active_filt; /* filter for "non-idle" packets */
|
||||
#endif /* PPP_FILTER */
|
||||
#endif /* NBPFILTER */
|
||||
#ifdef VJC
|
||||
struct slcompress *sc_comp; /* vjc control buffer */
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user