X-Git-Url: http://git.ozlabs.org/?p=ppp.git;a=blobdiff_plain;f=freebsd-2.0%2Fif_pppvar.h;h=7c3b97e29ac5a83bd7384c75277cf9c3ccb9b059;hp=4673334b5c10e3e19723a4435d84ed4e0270be51;hb=bcfa20820fc9ff3b25bcf62308e3e737c1897dc6;hpb=3fca15005a3eb1adb1ac4f94ec3eb6439e2dc865 diff --git a/freebsd-2.0/if_pppvar.h b/freebsd-2.0/if_pppvar.h index 4673334..7c3b97e 100644 --- a/freebsd-2.0/if_pppvar.h +++ b/freebsd-2.0/if_pppvar.h @@ -1,4 +1,4 @@ -/* $Id: if_pppvar.h,v 1.2 1996/07/01 01:00:28 paulus Exp $ */ +/* $Id: if_pppvar.h,v 1.6 1998/02/04 01:36:40 paulus Exp $ */ /* * if_pppvar.h - private structures and declarations for PPP. * @@ -75,8 +75,12 @@ 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 + 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 */ #ifdef VJC - struct slcompress *sc_comp; /* vjc control buffer */ + struct vjcompress *sc_comp; /* vjc control buffer */ #endif /* Device-dependent part for async lines. */ @@ -97,7 +101,9 @@ struct ppp_softc ppp_softc[NPPP]; struct ppp_softc *pppalloc __P((pid_t pid)); void pppdealloc __P((struct ppp_softc *sc)); -int pppioctl __P((struct ppp_softc *sc, u_long cmd, caddr_t data, +int pppoutput __P((struct ifnet *, struct mbuf *, + struct sockaddr *, struct rtentry *)); +int pppioctl __P((struct ppp_softc *sc, int cmd, caddr_t data, int flag, struct proc *p)); void ppp_restart __P((struct ppp_softc *sc)); void ppppktin __P((struct ppp_softc *sc, struct mbuf *m, int lost));