From: Paul Mackerras Date: Sun, 23 Oct 1994 11:46:45 +0000 (+0000) Subject: compression ratio is now fixed point. X-Git-Tag: RELEASE_2_3_6~830 X-Git-Url: http://git.ozlabs.org/?p=ppp.git;a=commitdiff_plain;h=a25751c11ca919d295f180a964912c6423ba3e33;ds=sidebyside compression ratio is now fixed point. --- diff --git a/include/net/ppp_defs.h b/include/net/ppp_defs.h index ccd4f6e..c6205dc 100644 --- a/include/net/ppp_defs.h +++ b/include/net/ppp_defs.h @@ -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. @@ -132,7 +132,7 @@ struct compstat { 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 {