summaryrefslogtreecommitdiffstats
path: root/NetworkPkg/TcpDxe/TcpProto.h
diff options
context:
space:
mode:
authorFu Siyuan <siyuan.fu@intel.com>2017-05-03 14:30:36 +0800
committerFu Siyuan <siyuan.fu@intel.com>2017-05-09 08:48:00 +0800
commit3696ceaecb03fc8d66988649506f5f22a6526d1e (patch)
treedba59f434c2f8bf0a1b26d031b8b1480f34da5dc /NetworkPkg/TcpDxe/TcpProto.h
parent207b3d2b0b7db33bd65e1943a66d7ee9b7132697 (diff)
downloadedk2-3696ceaecb03fc8d66988649506f5f22a6526d1e.tar.gz
edk2-3696ceaecb03fc8d66988649506f5f22a6526d1e.tar.bz2
edk2-3696ceaecb03fc8d66988649506f5f22a6526d1e.zip
NetworkPkg: Addressing TCP Window Retraction when window scale factor is used.
The RFC1323 which defines the TCP window scale option has been obsoleted by RFC7323. This patch is to follow the RFC7323 to address the TCP window retraction problem when a non-zero scale factor is used. The changes has been test in high packet loss rate network by using HTTP boot and iSCSI file read/write. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Fu Siyuan <siyuan.fu@intel.com> Reviewed-by: Wu Jiaxin <jiaxin.wu@intel.com> Reviewed-by: Ye Ting <ting.ye@intel.com>
Diffstat (limited to 'NetworkPkg/TcpDxe/TcpProto.h')
-rw-r--r--NetworkPkg/TcpDxe/TcpProto.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/NetworkPkg/TcpDxe/TcpProto.h b/NetworkPkg/TcpDxe/TcpProto.h
index ee35134833..81397d704d 100644
--- a/NetworkPkg/TcpDxe/TcpProto.h
+++ b/NetworkPkg/TcpDxe/TcpProto.h
@@ -1,7 +1,7 @@
/** @file
TCP protocol header file.
- Copyright (c) 2009 - 2012, Intel Corporation. All rights reserved.<BR>
+ Copyright (c) 2009 - 2017, Intel Corporation. All rights reserved.<BR>
This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License
@@ -316,6 +316,12 @@ struct _TCP_CONTROL_BLOCK {
TCP_SEQNO LossRecover; ///< Recover point for retxmit.
//
+ // RFC7323
+ // Addressing Window Retraction for TCP Window Scale Option.
+ //
+ TCP_SEQNO RetxmitSeqMax; ///< Max Seq number in previous retransmission.
+
+ //
// configuration parameters, for EFI_TCP4_PROTOCOL specification
//
UINT32 KeepAliveIdle; ///< Idle time before sending first probe.