]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Universal/Network/IScsiDxe/IScsiTcp4Io.c
do checksum before installing IBFT.
[mirror_edk2.git] / MdeModulePkg / Universal / Network / IScsiDxe / IScsiTcp4Io.c
index f1520267b8acae5df4d60c6ef727baa270b8297a..2278fe793779d5d8776c7c6479301c47f1fcf1a0 100644 (file)
@@ -267,17 +267,17 @@ Tcp4IoDestroySocket (
 /**\r
   Connect to the other endpoint of the TCP socket.\r
 \r
-  @param[in]  Tcp4Io  The Tcp4Io wrapping the TCP socket.\r
-  @param[in]  Timeout The time to wait for connection done.\r
+  @param[in, out]  Tcp4Io    The Tcp4Io wrapping the TCP socket.\r
+  @param[in]       Timeout   The time to wait for connection done.\r
   \r
   @retval EFI_SUCCESS          Connect to the other endpoint of the TCP socket successfully.\r
   @retval EFI_TIMEOUT          Failed to connect to the other endpoint of the TCP socket in the                               specified time period.\r
-  @retval Others               Some expected error happened.\r
+  @retval Others               Other errors as indicated.\r
 **/\r
 EFI_STATUS\r
 Tcp4IoConnect (\r
-  IN TCP4_IO    *Tcp4Io,\r
-  IN EFI_EVENT  Timeout\r
+  IN OUT TCP4_IO    *Tcp4Io,\r
+  IN EFI_EVENT      Timeout\r
   )\r
 {\r
   EFI_TCP4_PROTOCOL *Tcp4;\r
@@ -306,11 +306,11 @@ Tcp4IoConnect (
 /**\r
   Reset the socket.\r
 \r
-  @param[in]  Tcp4Io The Tcp4Io wrapping the TCP socket.\r
+  @param[in, out]  Tcp4Io The Tcp4Io wrapping the TCP socket.\r
 **/\r
 VOID\r
 Tcp4IoReset (\r
-  IN TCP4_IO  *Tcp4Io\r
+  IN OUT TCP4_IO  *Tcp4Io\r
   )\r
 {\r
   EFI_STATUS        Status;\r
@@ -338,7 +338,7 @@ Tcp4IoReset (
   \r
   @retval EFI_SUCCESS          The packet is trasmitted.\r
   @retval EFI_OUT_OF_RESOURCES Failed to allocate memory.\r
-  @retval Others               Some expected error happened.\r
+  @retval Others               Other errors as indicated.\r
 **/\r
 EFI_STATUS\r
 Tcp4IoTransmit (\r
@@ -404,7 +404,7 @@ ON_EXIT:
   @retval EFI_OUT_OF_RESOURCES Failed to allocate momery.\r
   @retval EFI_TIMEOUT          Failed to receive the required amount of data in the\r
                                specified time period.\r
-  @retval Others               Some expected error happened.\r
+  @retval Others               Other errors as indicated.\r
 **/\r
 EFI_STATUS\r
 Tcp4IoReceive (\r