diff options
author | niry <niry@6f19259b-4bc3-4df7-8a09-765794883524> | 2008-12-16 02:57:53 +0000 |
---|---|---|
committer | niry <niry@6f19259b-4bc3-4df7-8a09-765794883524> | 2008-12-16 02:57:53 +0000 |
commit | dfc1f033eadc0110006698797925f7060a251f10 (patch) | |
tree | 07692e61690fa05ecc34426738b40396f753ff49 /MdeModulePkg/Universal/Network/Tcp4Dxe/Tcp4Output.c | |
parent | 74935bd7321eab37fa6c72f6ac2dd60de5af9ac3 (diff) | |
download | edk2-dfc1f033eadc0110006698797925f7060a251f10.zip edk2-dfc1f033eadc0110006698797925f7060a251f10.tar.gz edk2-dfc1f033eadc0110006698797925f7060a251f10.tar.bz2 |
Add comments for functions.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7039 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdeModulePkg/Universal/Network/Tcp4Dxe/Tcp4Output.c')
-rw-r--r-- | MdeModulePkg/Universal/Network/Tcp4Dxe/Tcp4Output.c | 28 |
1 files changed, 12 insertions, 16 deletions
diff --git a/MdeModulePkg/Universal/Network/Tcp4Dxe/Tcp4Output.c b/MdeModulePkg/Universal/Network/Tcp4Dxe/Tcp4Output.c index 187fd95..f12b2c5 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 {
|