* Robert Olsson <robert@robur.slu.se> and Paul Mackerras.
*/
-/* $Id: if_ppp.c,v 1.12 1996/09/26 06:18:37 paulus Exp $ */
+/* $Id: if_ppp.c,v 1.13 1997/03/04 03:45:17 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 */
#include "ppp-comp.h"
#endif
+static int pppsioctl(struct ifnet *, int, caddr_t);
+static int pppoutput(struct ifnet *, struct mbuf *, struct sockaddr *);
static void ppp_requeue __P((struct ppp_softc *));
static void ppp_outpkt __P((struct ppp_softc *));
static void ppp_ccp __P((struct ppp_softc *, struct mbuf *m, int rcvd));
-/* $Id: if_ppp.h,v 1.2 1996/09/26 06:30:54 paulus Exp $ */
+/* $Id: if_ppp.h,v 1.3 1997/03/04 03:45:17 paulus Exp $ */
/*
* if_ppp.h - Point-to-Point Protocol definitions.
#if defined(_KERNEL) || defined(KERNEL)
void pppattach(void);
-int pppsioctl(struct ifnet *, int, caddr_t);
-int pppoutput(struct ifnet *, struct mbuf *, struct sockaddr *);
void pppintr();
#endif
#endif /* _IF_PPP_H_ */
* so that the entire packet being decompressed doesn't have
* to be in contiguous memory (just the compressed header).
*
- * $Id: slcompress.c,v 1.3 1996/05/24 07:04:55 paulus Exp $
+ * $Id: slcompress.c,v 1.4 1997/03/04 03:45:18 paulus Exp $
*/
#include "../h/types.h"
struct slcompress *comp;
{
u_char *hdr, *cp;
- int hlen, vjlen;
+ int vjlen;
+ u_int hlen;
cp = bufp? *bufp: NULL;
vjlen = sl_uncompress_tcp_core(cp, len, len, type, comp, &hdr, &hlen);