summaryrefslogtreecommitdiffstats
path: root/MdeModulePkg/Universal/Network/Tcp4Dxe/Tcp4Output.c
diff options
context:
space:
mode:
Diffstat (limited to 'MdeModulePkg/Universal/Network/Tcp4Dxe/Tcp4Output.c')
-rw-r--r--MdeModulePkg/Universal/Network/Tcp4Dxe/Tcp4Output.c28
1 files changed, 12 insertions, 16 deletions
diff --git a/MdeModulePkg/Universal/Network/Tcp4Dxe/Tcp4Output.c b/MdeModulePkg/Universal/Network/Tcp4Dxe/Tcp4Output.c
index 187fd955a9..f12b2c5b4c 100644
--- a/MdeModulePkg/Universal/Network/Tcp4Dxe/Tcp4Output.c
+++ b/MdeModulePkg/Universal/Network/Tcp4Dxe/Tcp4Output.c
@@ -1,23 +1,15 @@
/** @file
-
-Copyright (c) 2005 - 2006, Intel Corporation
+ TCP output process routines.
+
+Copyright (c) 2005 - 2006, Intel Corporation<BR>
All rights reserved. This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License
which accompanies this distribution. The full text of the license may be found at
-http://opensource.org/licenses/bsd-license.php
+http://opensource.org/licenses/bsd-license.php<BR>
THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
-Module Name:
-
- Tcp4Output.c
-
-Abstract:
-
- TCP output process routines.
-
-
**/
#include "Tcp4Main.h"
@@ -112,8 +104,7 @@ TcpRcvWinNow (
/**
- Compute the value to fill in the window size field
- of the outgoing segment.
+ Compute the value to fill in the window size field of the outgoing segment.
@param Tcb Pointer to the TCP_CB of this TCP instance.
@param Syn The flag to indicate whether the outgoing segment is a SYN
@@ -808,8 +799,13 @@ SEND_AGAIN:
(GET_SND_DATASIZE (Tcb->Sk) == 0) &&
TCP_SEQ_LT (End + 1, Tcb->SndWnd + Tcb->SndWl2)) {
- DEBUG ((EFI_D_INFO, "TcpToSendData: send FIN "
- "to peer for TCB %p in state %d\n", Tcb, Tcb->State));
+ DEBUG (
+ (EFI_D_INFO,
+ "TcpToSendData: send FIN "
+ "to peer for TCB %p in state %s\n",
+ Tcb,
+ mTcpStateName[Tcb->State])
+ );
End++;
} else {