From 3970ef27019843920c6306bec80d164f8eee7e82 Mon Sep 17 00:00:00 2001 From: peter Date: Tue, 19 Aug 1997 14:10:50 +0000 Subject: Update kernel parts of pppd from 2.2.0 to 2.3.0. I've yet to look at the 2.3.0 -> 2.3.1 changes, but I seem to recall that there are certain "issues" with 2.3.1 (I'm not sure if it's just pppd or the whole lot, I am not quite that far). The present pppd seems to work with it just fine for the time being. Among the changes are that zlib (aka LZ77 aka deflate aka gzip) compression is implemented as well as the original compress(1) LZW style. --- sys/net/slcompress.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'sys/net/slcompress.h') diff --git a/sys/net/slcompress.h b/sys/net/slcompress.h index d455df9..aa7f10b 100644 --- a/sys/net/slcompress.h +++ b/sys/net/slcompress.h @@ -35,7 +35,7 @@ * * Van Jacobson (van@helios.ee.lbl.gov), Dec 31, 1989: * - Initial distribution. - * $Id$ + * $Id: slcompress.h,v 1.11 1997/02/22 09:41:16 peter Exp $ */ #ifndef _NET_SLCOMPRESS_H_ @@ -117,7 +117,7 @@ */ struct cstate { struct cstate *cs_next; /* next most recently used cstate (xmit only) */ - u_short cs_hlen; /* size of hdr (receive only) */ + u_int16_t cs_hlen; /* size of hdr (receive only) */ u_char cs_id; /* connection # associated with this state */ u_char cs_filler; union { @@ -136,7 +136,7 @@ struct slcompress { struct cstate *last_cs; /* most recently used tstate */ u_char last_recv; /* last rcvd conn. id */ u_char last_xmit; /* last sent conn. id */ - u_short flags; + u_int16_t flags; #ifndef SL_NO_STATS int sls_packets; /* outbound packets */ int sls_compressed; /* outbound compressed packets */ -- cgit v1.1