* so that the entire packet being decompressed doesn't have
* to be in contiguous memory (just the compressed header).
*
- * $Id: vjcompress.c,v 1.1 1994/09/16 06:58:24 paulus Exp $
+ * $Id: vjcompress.c,v 1.3 1994/11/30 05:31:00 paulus Exp $
*/
#include <sys/types.h>
#include <netinet/ip.h>
#include <netinet/tcp.h>
-#ifdef __STDC__
-#define __P(x) x
-#else
-#define __P() ()
-#endif
-
+#include <net/ppp_defs.h>
#include <net/vjcompress.h>
#ifndef VJ_NO_STATS
-#define INCR(counter) ++comp->counter
+#define INCR(counter) ++comp->stats.counter
#else
#define INCR(counter)
#endif
register u_int hlen, changes;
register struct tcphdr *th;
register struct cstate *cs;
- register struct ip *ip;
register u_short *bp;
register u_int vjlen;