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
} 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