* This version is for use with STREAMS under SunOS 4.x,
* Digital UNIX, AIX 4.x, and SVR4 systems including Solaris 2.
*
- * $Id: bsd-comp.c,v 1.19 1996/06/26 00:53:15 paulus Exp $
+ * $Id: bsd-comp.c,v 1.21 2004/01/17 05:47:55 carlsonj Exp $
*/
#ifdef AIX4
#define BSD_LITTLE_ENDIAN
#endif
+#ifdef SOL2
+#include <sys/sunddi.h>
+#endif
+
#define PACKETPTR mblk_t *
#include <net/ppp-comp.h>
db->ratio = 0;
db->bytes_out = 0;
db->in_count = 0;
- db->incomp_count = 0;
db->checkpoint = CHECK_GAP;
}
if (ent < 0x21 || ent > 0xf9)
return;
- db->incomp_count++;
db->seqno++;
ilen = 1; /* count the protocol as 1 byte */
rptr += PPP_HDRLEN;