/** @file\r
Tcp request dispatcher implementation.\r
\r
-Copyright (c) 2005 - 2009, Intel Corporation<BR>\r
+Copyright (c) 2005 - 2010, Intel Corporation<BR>\r
All rights reserved. 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
RouteInfo->SubnetMask,\r
RouteInfo->GatewayAddress\r
);\r
- \r
+\r
}\r
\r
\r
Attach a Pcb to the socket.\r
\r
@param Sk Pointer to the socket of this TCP instance.\r
- \r
+\r
@retval EFI_SUCCESS The operation is completed successfully.\r
@retval EFI_OUT_OF_RESOURCES Failed due to resource limit.\r
\r
Detach the Pcb of the socket.\r
\r
@param Sk Pointer to the socket of this TCP instance.\r
- \r
+\r
**/\r
VOID\r
Tcp4DetachPcb (\r
(UINT32) (Option->ConnectionTimeout * TCP_TICK_HZ)\r
);\r
\r
- if (Option->EnableNagle == FALSE) {\r
+ if (!Option->EnableNagle) {\r
TCP_SET_FLG (Tcb->CtrlFlag, TCP_CTRL_NO_NAGLE);\r
}\r
\r
- if (Option->EnableTimeStamp == FALSE) {\r
+ if (!Option->EnableTimeStamp) {\r
TCP_SET_FLG (Tcb->CtrlFlag, TCP_CTRL_NO_TS);\r
}\r
\r
- if (Option->EnableWindowScaling == FALSE) {\r
+ if (!Option->EnableWindowScaling) {\r
TCP_SET_FLG (Tcb->CtrlFlag, TCP_CTRL_NO_WS);\r
}\r
}\r
//\r
// update state of Tcb and socket\r
//\r
- if (CfgData->AccessPoint.ActiveFlag == FALSE) {\r
+ if (!CfgData->AccessPoint.ActiveFlag) {\r
\r
TcpSetState (Tcb, TCP_LISTEN);\r
SockSetState (Sk, SO_LISTENING);\r