The implementation of a dispatch routine for processing TCP requests.\r
\r
(C) Copyright 2014 Hewlett-Packard Development Company, L.P.<BR>\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
} else {\r
IpProtocolGuid = &gEfiIp6ProtocolGuid;\r
}\r
- \r
+\r
Tcb = AllocateZeroPool (sizeof (TCP_CB));\r
\r
if (Tcb == NULL) {\r
IpIoRemoveIp (IpIo, Tcb->IpInfo);\r
return Status;\r
}\r
- \r
+\r
InitializeListHead (&Tcb->List);\r
InitializeListHead (&Tcb->SndQue);\r
InitializeListHead (&Tcb->RcvQue);\r
ASSERT (Tcb != NULL);\r
\r
TcpFlushPcb (Tcb);\r
- \r
+\r
IpIoRemoveIp (ProtoData->TcpService->IpIo, Tcb->IpInfo);\r
\r
FreePool (Tcb);\r