diff options
author | wollman <wollman@FreeBSD.org> | 1995-07-10 15:39:16 +0000 |
---|---|---|
committer | wollman <wollman@FreeBSD.org> | 1995-07-10 15:39:16 +0000 |
commit | ae6523c0e56b8a74212d0ae29b9a90665a97064a (patch) | |
tree | 82fd7fed6feb73b9e9be46d5741ba725a08ab0c9 /sys/netinet/tcp_var.h | |
parent | d3e9d64ff6195ae0b8325862d35eb96d66c16b05 (diff) | |
download | FreeBSD-src-ae6523c0e56b8a74212d0ae29b9a90665a97064a.zip FreeBSD-src-ae6523c0e56b8a74212d0ae29b9a90665a97064a.tar.gz |
tcp_input.c - keep track of how many times a route contained a cached rtt
or ssthresh that we were able to use
tcp_var.h - declare tcpstat entries for above; declare tcp_{send,recv}space
in_rmx.c - fill in the MTU and pipe sizes with the defaults TCP would have
used anyway in the absence of values here
Diffstat (limited to 'sys/netinet/tcp_var.h')
-rw-r--r-- | sys/netinet/tcp_var.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/sys/netinet/tcp_var.h b/sys/netinet/tcp_var.h index 8a9c621..6b69091 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.12 1995/06/19 16:45:33 wollman Exp $ + * $Id: tcp_var.h,v 1.13 1995/06/29 18:11:24 wollman Exp $ */ #ifndef _NETINET_TCP_VAR_H_ @@ -282,6 +282,9 @@ struct tcpstat { 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 */ + u_long tcps_usedrtt; /* times RTT initialized from route */ + u_long tcps_usedrttvar; /* times RTTVAR initialized from rt */ + u_long tcps_usedssthresh; /* times ssthresh initialized from rt*/ }; /* @@ -368,6 +371,10 @@ struct tcpcb * int tcp_usrreq __P((struct socket *, int, struct mbuf *, struct mbuf *, struct mbuf *)); void tcp_xmit_timer __P((struct tcpcb *, int)); + +extern u_long tcp_sendspace; +extern u_long tcp_recvspace; + #endif /* KERNEL */ #endif /* _NETINET_TCP_VAR_H_ */ |