]> git.proxmox.com Git - mirror_edk2.git/blobdiff - NetworkPkg/Library/DxeTcpIoLib/DxeTcpIoLib.c
NetworkPkg/Library: Fix various typos
[mirror_edk2.git] / NetworkPkg / Library / DxeTcpIoLib / DxeTcpIoLib.c
index 341295d0b7afd49874c5ee3a2aa01579820fca90..6f87a0eada98eba6c60d220eef7013dcf64730aa 100644 (file)
@@ -304,7 +304,7 @@ TcpIoCreateSocket (
   }\r
 \r
   //\r
-  // Create events for variuos asynchronous operations.\r
+  // Create events for various asynchronous operations.\r
   //\r
   Status = gBS->CreateEvent (\r
                   EVT_NOTIFY_SIGNAL,\r
@@ -745,7 +745,7 @@ TcpIoReset (
   @param[in]   TcpIo           The TcpIo wrapping the TCP socket.\r
   @param[in]   Packet          The packet to transmit.\r
 \r
-  @retval EFI_SUCCESS            The packet is trasmitted.\r
+  @retval EFI_SUCCESS            The packet is transmitted.\r
   @retval EFI_INVALID_PARAMETER  One or more parameters are invalid.\r
   @retval EFI_UNSUPPORTED        One or more of the control options are not\r
                                  supported in the implementation.\r
@@ -807,7 +807,7 @@ TcpIoTransmit (
   Status = EFI_DEVICE_ERROR;\r
 \r
   //\r
-  // Trasnmit the packet.\r
+  // Transmit the packet.\r
   //\r
   if (TcpIo->TcpVersion == TCP_VERSION_4) {\r
     TcpIo->TxToken.Tcp4Token.Packet.TxData = (EFI_TCP4_TRANSMIT_DATA *) Data;\r
@@ -862,14 +862,14 @@ ON_EXIT:
 \r
   @param[in, out]  TcpIo       The TcpIo which wraps the socket to be destroyed.\r
   @param[in]       Packet      The buffer to hold the data copy from the socket rx buffer.\r
-  @param[in]       AsyncMode   Is this receive asyncronous or not.\r
+  @param[in]       AsyncMode   Is this receive asynchronous or not.\r
   @param[in]       Timeout     The time to wait for receiving the amount of data the Packet\r
                                can hold. Set to NULL for infinite wait.\r
 \r
   @retval EFI_SUCCESS            The required amount of data is received from the socket.\r
   @retval EFI_INVALID_PARAMETER  One or more parameters are invalid.\r
   @retval EFI_DEVICE_ERROR       An unexpected network or system error occurred.\r
-  @retval EFI_OUT_OF_RESOURCES   Failed to allocate momery.\r
+  @retval EFI_OUT_OF_RESOURCES   Failed to allocate memory.\r
   @retval EFI_TIMEOUT            Failed to receive the required amount of data in the\r
                                  specified time period.\r
   @retval Others                 Other errors as indicated.\r