summaryrefslogtreecommitdiffstats
path: root/sys/netinet/tcp_var.h
diff options
context:
space:
mode:
authorwollman <wollman@FreeBSD.org>1995-09-21 17:29:13 +0000
committerwollman <wollman@FreeBSD.org>1995-09-21 17:29:13 +0000
commitc23cac3d659751c6b5a635ecf917dc8ab9fa9d8a (patch)
treeb95ac44f9b236c868882146739b6d890cda1cd5e /sys/netinet/tcp_var.h
parent43a67e5367a44f0ead1ac987f4c8d086695e1aff (diff)
downloadFreeBSD-src-c23cac3d659751c6b5a635ecf917dc8ab9fa9d8a.zip
FreeBSD-src-c23cac3d659751c6b5a635ecf917dc8ab9fa9d8a.tar.gz
Merge with 4.4-Lite-2. This just adds a couple of tcpstat entries which
we don't currently set, but might in the future.
Diffstat (limited to 'sys/netinet/tcp_var.h')
-rw-r--r--sys/netinet/tcp_var.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/sys/netinet/tcp_var.h b/sys/netinet/tcp_var.h
index a21c899..c951181 100644
--- a/sys/netinet/tcp_var.h
+++ b/sys/netinet/tcp_var.h
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1982, 1986, 1993, 1994
+ * Copyright (c) 1982, 1986, 1993, 1994, 1995
* The Regents of the University of California. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
@@ -30,8 +30,8 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * @(#)tcp_var.h 8.3 (Berkeley) 4/10/94
- * $Id: tcp_var.h,v 1.14 1995/07/10 15:39:16 wollman Exp $
+ * @(#)tcp_var.h 8.4 (Berkeley) 5/24/95
+ * $Id: tcp_var.h,v 1.15 1995/07/29 18:48:44 davidg Exp $
*/
#ifndef _NETINET_TCP_VAR_H_
@@ -109,7 +109,7 @@ struct tcpcb {
* transmit timing stuff. See below for scale of srtt and rttvar.
* "Variance" is actually smoothed difference.
*/
- short t_idle; /* inactivity time */
+ u_short t_idle; /* inactivity time */
short t_rtt; /* round trip time */
tcp_seq t_rtseq; /* sequence number being timed */
short t_srtt; /* smoothed round-trip time */
@@ -286,6 +286,8 @@ struct tcpstat {
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*/
+ u_long tcps_persistdrop; /* timeout in persist state */
+ u_long tcps_badsyn; /* bogus SYN, e.g. premature ACK */
};
/*
OpenPOWER on IntegriCloud