summaryrefslogtreecommitdiffstats
path: root/sys/netinet/tcp_timer.c
diff options
context:
space:
mode:
authorwollman <wollman@FreeBSD.org>1995-02-16 00:55:44 +0000
committerwollman <wollman@FreeBSD.org>1995-02-16 00:55:44 +0000
commit0f1c96e35914243f7be1dd758c1d9c2b5aa97d23 (patch)
tree819ad718daa331fc645ba661c3d627cf61d1a68d /sys/netinet/tcp_timer.c
parentca7e5f22bd70b1995a0b15f1ebdc61c9ed67ab3c (diff)
downloadFreeBSD-src-0f1c96e35914243f7be1dd758c1d9c2b5aa97d23.zip
FreeBSD-src-0f1c96e35914243f7be1dd758c1d9c2b5aa97d23.tar.gz
Transaction TCP support now standard. Hack away!
Diffstat (limited to 'sys/netinet/tcp_timer.c')
-rw-r--r--sys/netinet/tcp_timer.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/sys/netinet/tcp_timer.c b/sys/netinet/tcp_timer.c
index 72448f1..e302003 100644
--- a/sys/netinet/tcp_timer.c
+++ b/sys/netinet/tcp_timer.c
@@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* @(#)tcp_timer.c 8.1 (Berkeley) 6/10/93
- * $Id: tcp_timer.c,v 1.2 1994/08/02 07:49:10 davidg Exp $
+ * $Id: tcp_timer.c,v 1.3 1995/02/09 23:13:26 wollman Exp $
*/
#ifndef TUBA_INCLUDE
@@ -123,9 +123,7 @@ tcp_slowtimo()
}
}
tp->t_idle++;
-#ifdef TTCP
tp->t_duration++;
-#endif
if (tp->t_rtt)
tp->t_rtt++;
tpgone:
@@ -215,12 +213,10 @@ tcp_timers(tp, timer)
tp->t_srtt = 0;
}
tp->snd_nxt = tp->snd_una;
-#ifdef TTCP
/*
* Force a segment to be sent.
*/
tp->t_flags |= TF_ACKNOW;
-#endif
/*
* If timing a segment in this window, stop the timer.
*/
OpenPOWER on IntegriCloud