aboutsummaryrefslogtreecommitdiff
path: root/sys/netinet/tcp_var.h
diff options
context:
space:
mode:
authorJayanth Vijayaraghavan <jayanth@FreeBSD.org>2001-10-05 21:33:38 +0000
committerJayanth Vijayaraghavan <jayanth@FreeBSD.org>2001-10-05 21:33:38 +0000
commitc24d5dae7ade810ecb58d6503a39229ed16c8e13 (patch)
treee4fe78cb3f41ec216402bb68c1185cffeae21621 /sys/netinet/tcp_var.h
parentdf306b264704053af039e7d1664342d77a6b66aa (diff)
downloadsrc-c24d5dae7ade810ecb58d6503a39229ed16c8e13.tar.gz
src-c24d5dae7ade810ecb58d6503a39229ed16c8e13.zip
Add a flag TF_LASTIDLE, that forces a previously idle connection
to send all its data, especially when the data is less than one MSS. This fixes an issue where the stack was delaying the sending of data, eventhough there was enough window to send all the data and the sending of data was emptying the socket buffer. Problem found by Yoshihiro Tsuchiya (tsuchiya@flab.fujitsu.co.jp) Submitted by: Jayanth Vijayaraghavan
Notes
Notes: svn path=/head/; revision=84564
Diffstat (limited to 'sys/netinet/tcp_var.h')
-rw-r--r--sys/netinet/tcp_var.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/netinet/tcp_var.h b/sys/netinet/tcp_var.h
index 9c2803fe1490..7dc1bacd3dff 100644
--- a/sys/netinet/tcp_var.h
+++ b/sys/netinet/tcp_var.h
@@ -95,6 +95,7 @@ struct tcpcb {
#define TF_SENDCCNEW 0x08000 /* send CCnew instead of CC in SYN */
#define TF_MORETOCOME 0x10000 /* More data to be appended to sock */
#define TF_LQ_OVERFLOW 0x20000 /* listen queue overflow */
+#define TF_LASTIDLE 0x40000 /* connection was previously idle */
int t_force; /* 1 if forcing out a byte */
tcp_seq snd_una; /* send unacknowledged */