]> git.proxmox.com Git - mirror_edk2.git/blobdiff - NetworkPkg/TcpDxe/TcpOutput.c
NetworkPkg: Replace BSD License with BSD+Patent License
[mirror_edk2.git] / NetworkPkg / TcpDxe / TcpOutput.c
index 1697514a92bff1b1e4981e0ff1b71f4a5af430e0..96aada66c8d6bf4a0baf65218747a16f333adcb6 100644 (file)
@@ -1,15 +1,9 @@
 /** @file\r
   TCP output process routines.\r
 \r
-  Copyright (c) 2009 - 2017, Intel Corporation. All rights reserved.<BR>\r
+  Copyright (c) 2009 - 2018, 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
@@ -295,7 +289,7 @@ TcpTransmitSegment (
   ASSERT ((Nbuf != NULL) && (Nbuf->Tcp == NULL));\r
 \r
   if (TcpVerifySegment (Nbuf) == 0) {\r
-    return -1; \r
+    return -1;\r
   }\r
 \r
   DataLen = Nbuf->TotalSize;\r
@@ -642,7 +636,7 @@ TcpGetSegment (
     NetbufFree (Nbuf);\r
     return NULL;\r
   }\r
-  \r
+\r
   return Nbuf;\r
 }\r
 \r
@@ -688,10 +682,10 @@ TcpRetransmit (
       "TcpRetransmit: retransmission without regard to the receiver window for TCB %p\n",\r
       Tcb)\r
       );\r
-    \r
+\r
   } else if (TCP_SEQ_GEQ (Tcb->SndWl2 + Tcb->SndWnd, Seq)) {\r
     Len = TCP_SUB_SEQ (Tcb->SndWl2 + Tcb->SndWnd, Seq);\r
-    \r
+\r
   } else {\r
     DEBUG (\r
       (EFI_D_WARN,\r