X-Git-Url: https://git.ozlabs.org/?p=ppp.git;a=blobdiff_plain;f=include%2Fnet%2Fppp_defs.h;h=ccd4f6e8c5b2eb2b0b48c751de4fdf880ffe96ff;hp=7e6c62f793b853d380e95d1bfd094c70659e5936;hb=29829af57374e99da39f341fd00a0ae2445266d6;hpb=6a34bc9a3edf435bc67e81755b65acb6786c98b3 diff --git a/include/net/ppp_defs.h b/include/net/ppp_defs.h index 7e6c62f..ccd4f6e 100644 --- a/include/net/ppp_defs.h +++ b/include/net/ppp_defs.h @@ -1,4 +1,4 @@ -/* $Id: ppp_defs.h,v 1.2 1994/09/21 01:31:06 paulus Exp $ */ +/* $Id: ppp_defs.h,v 1.3 1994/10/22 11:56:19 paulus Exp $ */ /* * ppp_defs.h - PPP definitions. @@ -120,6 +120,11 @@ struct vjstat { u_int vjs_tossed; /* inbound packets tossed because of error */ }; +struct ppp_stats { + struct pppstat p; /* basic PPP statistics */ + struct vjstat vj; /* VJ header compression statistics */ +}; + struct compstat { u_int unc_bytes; /* total uncompressed bytes */ u_int unc_packets; /* total uncompressed packets */ @@ -130,9 +135,7 @@ struct compstat { double ratio; /* recent compression ratio */ }; -struct ppp_stats { - struct pppstat p; /* basic PPP statistics */ - struct vjstat vj; /* VJ header compression statistics */ +struct ppp_comp_stats { struct compstat c; /* packet compression statistics */ struct compstat d; /* packet decompression statistics */ };