]> git.ozlabs.org Git - ppp.git/blobdiff - include/net/ppp_defs.h
compression ratio is now fixed point.
[ppp.git] / include / net / ppp_defs.h
index ccd4f6e8c5b2eb2b0b48c751de4fdf880ffe96ff..c6205dcf197a30b1f7cba0d563585f68ba859d44 100644 (file)
@@ -1,4 +1,4 @@
-/*     $Id: ppp_defs.h,v 1.3 1994/10/22 11:56:19 paulus Exp $  */
+/*     $Id: ppp_defs.h,v 1.4 1994/10/23 11:46:45 paulus Exp $  */
 
 /*
  * ppp_defs.h - PPP definitions.
 
 /*
  * ppp_defs.h - PPP definitions.
@@ -132,7 +132,7 @@ struct compstat {
     u_int      comp_packets;   /* compressed packets */
     u_int      inc_bytes;      /* incompressible bytes */
     u_int      inc_packets;    /* incompressible packets */
     u_int      comp_packets;   /* compressed packets */
     u_int      inc_bytes;      /* incompressible bytes */
     u_int      inc_packets;    /* incompressible packets */
-    double     ratio;          /* recent compression ratio */
+    u_int      ratio;          /* recent compression ratio << 8 */
 };
 
 struct ppp_comp_stats {
 };
 
 struct ppp_comp_stats {