summaryrefslogtreecommitdiffstats
path: root/sys/netinet/tcp_var.h
diff options
context:
space:
mode:
authorwollman <wollman@FreeBSD.org>1995-06-19 16:45:33 +0000
committerwollman <wollman@FreeBSD.org>1995-06-19 16:45:33 +0000
commita1aa4b6c803d61e08c672ed170fb6dd85a00772f (patch)
tree393189ae6d0573852a4a88c1ad9cf03f1c79436b /sys/netinet/tcp_var.h
parent4e33c8eed30fa60dfd518a6a7fdf5c7eceeabd57 (diff)
downloadFreeBSD-src-a1aa4b6c803d61e08c672ed170fb6dd85a00772f.zip
FreeBSD-src-a1aa4b6c803d61e08c672ed170fb6dd85a00772f.tar.gz
Now that we've gone to all sorts of effort to allow TCP to cache some of
its connection parameters, we want to keep statistics on how often this actually happens to see whether there is any work that needs to be done in TCP itself. Suggested by: John Wroclawski <jtw@lcs.mit.edu>
Diffstat (limited to 'sys/netinet/tcp_var.h')
-rw-r--r--sys/netinet/tcp_var.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/netinet/tcp_var.h b/sys/netinet/tcp_var.h
index 56d9f3e..c5f35d3 100644
--- a/sys/netinet/tcp_var.h
+++ b/sys/netinet/tcp_var.h
@@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* @(#)tcp_var.h 8.3 (Berkeley) 4/10/94
- * $Id: tcp_var.h,v 1.10 1995/03/16 18:15:07 bde Exp $
+ * $Id: tcp_var.h,v 1.11 1995/04/09 01:29:29 davidg Exp $
*/
#ifndef _NETINET_TCP_VAR_H_
@@ -277,6 +277,9 @@ struct tcpstat {
u_long tcps_predack; /* times hdr predict ok for acks */
u_long tcps_preddat; /* times hdr predict ok for data pkts */
u_long tcps_pcbcachemiss;
+ u_long tcps_cachedrtt; /* times cached RTT in route updated */
+ u_long tcps_cachedrttvar; /* times cached rttvar updated */
+ u_long tcps_cachedssthresh; /* times cached ssthresh updated */
};
/*
OpenPOWER on IntegriCloud