X-Git-Url: http://git.ozlabs.org/?p=ppp.git;a=blobdiff_plain;f=freebsd-2.0%2Fppp_tty.c;h=912f0831a27c7081ee9a8abbc2a86416154de7eb;hp=7eee2b134aa29bc8764635858ace6591e05eff88;hb=e28f47d5e53abe7317d9a82703bbbee044482d4f;hpb=e3c0dd4a0dffbdfe2fa8da1124f455d8d7994594 diff --git a/freebsd-2.0/ppp_tty.c b/freebsd-2.0/ppp_tty.c index 7eee2b1..912f083 100644 --- a/freebsd-2.0/ppp_tty.c +++ b/freebsd-2.0/ppp_tty.c @@ -70,7 +70,7 @@ * Paul Mackerras (paulus@cs.anu.edu.au). */ -/* $Id: ppp_tty.c,v 1.6 1996/07/01 05:25:56 paulus Exp $ */ +/* $Id: ppp_tty.c,v 1.8 1997/04/30 05:42:08 paulus 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 */ @@ -103,6 +103,9 @@ #include #endif +#ifdef PPP_FILTER +#include +#endif #include #include #include @@ -112,7 +115,7 @@ int pppopen __P((dev_t dev, struct tty *tp)); int pppclose __P((struct tty *tp, int flag)); int pppread __P((struct tty *tp, struct uio *uio, int flag)); int pppwrite __P((struct tty *tp, struct uio *uio, int flag)); -int ppptioctl __P((struct tty *tp, u_long cmd, caddr_t data, int flag, +int ppptioctl __P((struct tty *tp, int cmd, caddr_t data, int flag, struct proc *)); int pppinput __P((int c, struct tty *tp)); int pppstart __P((struct tty *tp)); @@ -397,7 +400,7 @@ pppwrite(tp, uio, flag) int ppptioctl(tp, cmd, data, flag, p) struct tty *tp; - u_long cmd; + int cmd; caddr_t data; int flag; struct proc *p;