-/* $Id: if_pppvar.h,v 1.4 1997/03/04 03:27: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.
*
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 vjcompress *sc_comp; /* vjc control buffer */
#endif
struct ppp_softc *pppalloc __P((pid_t pid));
void pppdealloc __P((struct ppp_softc *sc));
+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));