]> git.proxmox.com Git - mirror_edk2.git/blobdiff - NetworkPkg/TcpDxe/TcpProto.h
NetworkPkg: Replace BSD License with BSD+Patent License
[mirror_edk2.git] / NetworkPkg / TcpDxe / TcpProto.h
index 88dfbb9d5c01fc65f311cefb6b95e87048d30a54..403ac98a5c0eb7ce6b68e9ef4a0d6c40b63e16f7 100644 (file)
@@ -1,15 +1,9 @@
 /** @file\r
   TCP protocol header file.\r
 \r
-  Copyright (c) 2009 - 2010, Intel Corporation. All rights reserved.<BR>\r
+  Copyright (c) 2009 - 2017, Intel Corporation. All rights reserved.<BR>\r
 \r
-  This program and the accompanying materials\r
-  are licensed and made available under the terms and conditions of the BSD License\r
-  which accompanies this distribution.  The full text of the license may be found at\r
-  http://opensource.org/licenses/bsd-license.php.\r
-\r
-  THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
-  WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
+  SPDX-License-Identifier: BSD-2-Clause-Patent\r
 \r
 **/\r
 \r
@@ -315,6 +309,12 @@ struct _TCP_CONTROL_BLOCK {
   UINT8             LossTimes;    ///< Number of retxmit timeouts in a row.\r
   TCP_SEQNO         LossRecover;  ///< Recover point for retxmit.\r
 \r
+  //\r
+  // RFC7323\r
+  // Addressing Window Retraction for TCP Window Scale Option.\r
+  //\r
+  TCP_SEQNO         RetxmitSeqMax;       ///< Max Seq number in previous retransmission.\r
+\r
   //\r
   // configuration parameters, for EFI_TCP4_PROTOCOL specification\r
   //\r
@@ -335,6 +335,8 @@ struct _TCP_CONTROL_BLOCK {
   UINT8             Ttl;\r
   EFI_IPv4_ADDRESS  SubnetMask;\r
 \r
+\r
+  BOOLEAN           RemoteIpZero;   ///< RemoteEnd.Ip is ZERO when configured.\r
   IP_IO_IP_INFO     *IpInfo;        ///< Pointer reference to Ip used to send pkt\r
   UINT32            Tick;           ///< 1 tick = 200ms\r
 };\r