From a25751c11ca919d295f180a964912c6423ba3e33 Mon Sep 17 00:00:00 2001 From: Paul Mackerras Date: Sun, 23 Oct 1994 11:46:45 +0000 Subject: [PATCH] compression ratio is now fixed point. --- include/net/ppp_defs.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 { -- 2.39.2