$NetBSD: patch-ai,v 1.1.1.1 1999/10/08 04:34:43 dbj Exp $ Index: pppd/pppd.h diff -u pppd/pppd.h:1.1.1.5 pppd/pppd.h:1.19 --- pppd/pppd.h:1.1.1.5 Tue Aug 24 13:25:39 1999 +++ pppd/pppd.h Tue Aug 24 19:07:45 1999 @@ -207,8 +209,13 @@ extern char linkname[MAXPATHLEN]; /* logical name for link */ #ifdef PPP_FILTER -extern struct bpf_program pass_filter; /* Filter for pkts to pass */ -extern struct bpf_program active_filter; /* Filter for link-active pkts */ +/* Filter for packets to pass */ +extern struct bpf_program pass_filter_in; +extern struct bpf_program pass_filter_out; + +/* Filter for link-active packets */ +extern struct bpf_program active_filter_in; +extern struct bpf_program active_filter_out; #endif #ifdef MSLANMAN @@ -422,7 +429,8 @@ int get_host_seed __P((void)); /* Get host-dependent random number seed */ int have_route_to __P((u_int32_t)); /* Check if route to addr exists */ #ifdef PPP_FILTER -int set_filters __P((struct bpf_program *pass, struct bpf_program *active)); +int set_filters __P((struct bpf_program *pass_in, struct bpf_program *pass_out, + struct bpf_program *active_in, struct bpf_program *active_out)); /* Set filter programs in kernel */ #endif #ifdef IPX_CHANGE