summaryrefslogtreecommitdiff
path: root/include/net
diff options
context:
space:
mode:
authorPaul Mackerras <paulus@samba.org>1994-09-19 04:20:28 +0000
committerPaul Mackerras <paulus@samba.org>1994-09-19 04:20:28 +0000
commit274ce53d26d1f6fb0a0a963af76162c9a1f19bba (patch)
treeb53a9d7bc03b43bb8b54c3bfcd016f8382be8b5e /include/net
parent81de46bd284bb7b64857630c1d615ed9b0907e3e (diff)
downloadppp-274ce53d26d1f6fb0a0a963af76162c9a1f19bba.tar.gz
stats now in a structure
Diffstat (limited to 'include/net')
-rw-r--r--include/net/vjcompress.h11
1 files changed, 2 insertions, 9 deletions
diff --git a/include/net/vjcompress.h b/include/net/vjcompress.h
index da427ce..9abe488 100644
--- a/include/net/vjcompress.h
+++ b/include/net/vjcompress.h
@@ -1,7 +1,7 @@
/*
* Definitions for tcp compression routines.
*
- * $Id: vjcompress.h,v 1.1 1994/09/16 06:57:09 paulus Exp $
+ * $Id: vjcompress.h,v 1.2 1994/09/19 04:20:28 paulus Exp $
*
* Copyright (c) 1989 Regents of the University of California.
* All rights reserved.
@@ -121,14 +121,7 @@ struct vjcompress {
u_char last_xmit; /* last sent conn. id */
u_short flags;
#ifndef VJ_NO_STATS
- int vjs_packets; /* outbound packets */
- int vjs_compressed; /* outbound compressed packets */
- int vjs_searches; /* searches for connection state */
- int vjs_misses; /* times couldn't find conn. state */
- int vjs_uncompressedin; /* inbound uncompressed packets */
- int vjs_compressedin; /* inbound compressed packets */
- int vjs_errorin; /* inbound unknown type packets */
- int vjs_tossed; /* inbound packets tossed because of error */
+ struct vjstat stats;
#endif
struct cstate tstate[MAX_STATES]; /* xmit connection states */
struct cstate rstate[MAX_STATES]; /* receive connection states */