]> git.proxmox.com Git - mirror_edk2.git/blobdiff - NetworkPkg/DnsDxe/DnsImpl.c
NetworkPkg/DnsDxe: Fix various typos
[mirror_edk2.git] / NetworkPkg / DnsDxe / DnsImpl.c
index 4c232740be3f2467c015fd2f1502e537b0131ed4..25628a5704f0c2cfb3e24ceb124727ca90ebe1c4 100644 (file)
@@ -14,7 +14,7 @@ SPDX-License-Identifier: BSD-2-Clause-Patent
   @param[in] TokenMap          All DNSv4 Token entrys.\r
   @param[in] TokenEntry        TokenEntry need to be removed.\r
 \r
-  @retval EFI_SUCCESS          Remove TokenEntry from TokenMap sucessfully.\r
+  @retval EFI_SUCCESS          Remove TokenEntry from TokenMap successfully.\r
   @retval EFI_NOT_FOUND        TokenEntry is not found in TokenMap.\r
 \r
 **/\r
@@ -49,7 +49,7 @@ Dns4RemoveTokenEntry (
   @param[in] TokenMap           All DNSv6 Token entrys.\r
   @param[in] TokenEntry         TokenEntry need to be removed.\r
 \r
-  @retval EFI_SUCCESS           Remove TokenEntry from TokenMap sucessfully.\r
+  @retval EFI_SUCCESS           Remove TokenEntry from TokenMap successfully.\r
   @retval EFI_NOT_FOUND         TokenEntry is not found in TokenMap.\r
 \r
 **/\r
@@ -79,7 +79,7 @@ Dns6RemoveTokenEntry (
 }\r
 \r
 /**\r
-  This function cancle the token specified by Arg in the Map.\r
+  This function cancel the token specified by Arg in the Map.\r
 \r
   @param[in]  Map             Pointer to the NET_MAP.\r
   @param[in]  Item            Pointer to the NET_MAP_ITEM.\r
@@ -139,7 +139,7 @@ Dns4CancelTokens (
 }\r
 \r
 /**\r
-  This function cancle the token specified by Arg in the Map.\r
+  This function cancel the token specified by Arg in the Map.\r
 \r
   @param[in]  Map             Pointer to the NET_MAP.\r
   @param[in]  Item            Pointer to the NET_MAP_ITEM.\r
@@ -205,7 +205,7 @@ Dns6CancelTokens (
   @param[in]  Token               Pointer to the token to be get.\r
   @param[out] TokenEntry          Pointer to TokenEntry corresponding Token.\r
 \r
-  @retval EFI_SUCCESS             Get the TokenEntry from the TokensMap sucessfully.\r
+  @retval EFI_SUCCESS             Get the TokenEntry from the TokensMap successfully.\r
   @retval EFI_NOT_FOUND           TokenEntry is not found in TokenMap.\r
 \r
 **/\r
@@ -241,7 +241,7 @@ GetDns4TokenEntry (
   @param[in]  Token               Pointer to the token to be get.\r
   @param[out] TokenEntry          Pointer to TokenEntry corresponding Token.\r
 \r
-  @retval EFI_SUCCESS             Get the TokenEntry from the TokensMap sucessfully.\r
+  @retval EFI_SUCCESS             Get the TokenEntry from the TokensMap successfully.\r
   @retval EFI_NOT_FOUND           TokenEntry is not found in TokenMap.\r
 \r
 **/\r
@@ -530,7 +530,7 @@ DnsDummyExtFree (
   @param  UdpCfgData             The UDP configure data to reconfigure the UDP_IO\r
 \r
   @retval TRUE                   The default address is retrieved and UDP is reconfigured.\r
-  @retval FALSE                  Some error occured.\r
+  @retval FALSE                  Some error occurred.\r
 \r
 **/\r
 BOOLEAN\r
@@ -582,7 +582,7 @@ Dns4GetMapping (
   @param  UdpCfgData             The UDP configure data to reconfigure the UDP_IO\r
 \r
   @retval TRUE                   Configure the Udp6 instance successfully.\r
-  @retval FALSE                  Some error occured.\r
+  @retval FALSE                  Some error occurred.\r
 \r
 **/\r
 BOOLEAN\r
@@ -2101,7 +2101,7 @@ DnsOnTimerRetransmit (
         }\r
 \r
         //\r
-        // Retransmit the packet if haven't reach the maxmium retry count,\r
+        // Retransmit the packet if haven't reach the maximum retry count,\r
         // otherwise exit the transfer.\r
         //\r
         if (++Dns4TokenEntry->RetryCounting <= Dns4TokenEntry->Token->RetryCount) {\r
@@ -2145,7 +2145,7 @@ DnsOnTimerRetransmit (
         }\r
 \r
         //\r
-        // Retransmit the packet if haven't reach the maxmium retry count,\r
+        // Retransmit the packet if haven't reach the maximum retry count,\r
         // otherwise exit the transfer.\r
         //\r
         if (++Dns6TokenEntry->RetryCounting <= Dns6TokenEntry->Token->RetryCount) {\r