]> git.proxmox.com Git - mirror_edk2.git/blobdiff - NetworkPkg/Udp4Dxe/Udp4Impl.c
NetworkPkg/Udp4Dxe: Fix various typos
[mirror_edk2.git] / NetworkPkg / Udp4Dxe / Udp4Impl.c
index fb1951fb135774591ac3cc859b6d47ce1cf531c5..dc2a324c1181c8a6ba2e174bd19c1ebb39df8007 100644 (file)
@@ -119,7 +119,7 @@ Udp4CancelTokens (
   @param[in]  Udp4Session        Pointer to the EFI_UDP4_SESSION_DATA abstracted\r
                                  from the received udp datagram.\r
 \r
-  @retval TRUE       The udp datagram matches the receiving requirments of the\r
+  @retval TRUE       The udp datagram matches the receiving requirements of the\r
                      udp Instance.\r
   @retval FALSE      Otherwise.\r
 \r
@@ -439,7 +439,7 @@ Udp4CheckTimeout (
 \r
 \r
 /**\r
-  This function intializes the new created udp instance.\r
+  This function initializes the new created udp instance.\r
 \r
   @param[in]      Udp4Service       Pointer to the UDP4_SERVICE_DATA.\r
   @param[in, out] Instance          Pointer to the un-initialized UDP4_INSTANCE_DATA.\r
@@ -851,7 +851,7 @@ Udp4ValidateTxToken (
 \r
     if ((UdpSessionData->DestinationPort == 0) && (ConfigData->RemotePort == 0)) {\r
       //\r
-      // Ambiguous, no avalaible DestinationPort for this token.\r
+      // Ambiguous, no available DestinationPort for this token.\r
       //\r
       return EFI_INVALID_PARAMETER;\r
     }\r
@@ -864,7 +864,7 @@ Udp4ValidateTxToken (
     }\r
   } else if (EFI_IP4_EQUAL (&ConfigData->RemoteAddress, &mZeroIp4Addr)) {\r
     //\r
-    // the configured RemoteAddress is all zero, and the user doens't override the\r
+    // the configured RemoteAddress is all zero, and the user doesn't override the\r
     // destination address.\r
     //\r
     return EFI_INVALID_PARAMETER;\r
@@ -922,7 +922,7 @@ Udp4TokenExist (
   pseudo HeadSum to reduce some overhead.\r
 \r
   @param[in]  Packet             Pointer to the NET_BUF contains the udp datagram.\r
-  @param[in]  HeadSum            Checksum of the pseudo header execpt the length\r
+  @param[in]  HeadSum            Checksum of the pseudo header except the length\r
                                  field.\r
 \r
   @retval The 16-bit checksum of this udp datagram.\r
@@ -1264,7 +1264,7 @@ Udp4InstanceCancelToken (
   @param[in]  Udp4Session        Pointer to the EFI_UDP4_SESSION_DATA abstracted\r
                                  from the received udp datagram.\r
 \r
-  @retval TRUE       The udp datagram matches the receiving requirments of the\r
+  @retval TRUE       The udp datagram matches the receiving requirements of the\r
                      udp Instance.\r
   @retval FALSE      Otherwise.\r
 \r