]> git.proxmox.com Git - mirror_edk2.git/blobdiff - NetworkPkg/Udp6Dxe/Udp6Impl.c
NetworkPkg/Udp6Dxe: Fix various typos
[mirror_edk2.git] / NetworkPkg / Udp6Dxe / Udp6Impl.c
index aefcd3396c8590a5f7441b42934f505254beb8f4..ba939fdbfc3136c8b5e2b08a8c3fd3346fa781fc 100644 (file)
@@ -96,7 +96,7 @@ Udp6DgramRcvd (
   );\r
 \r
 /**\r
   );\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
 \r
   @param[in]  Map             Pointer to the NET_MAP.\r
   @param[in]  Item            Pointer to the NET_MAP_ITEM.\r
@@ -458,7 +458,7 @@ Udp6CheckTimeout (
 \r
 \r
 /**\r
 \r
 \r
 /**\r
-  This function intializes the new created udp instance.\r
+  This function initializes the new created udp instance.\r
 \r
   @param[in]       Udp6Service      Pointer to the UDP6_SERVICE_DATA.\r
   @param[in, out]  Instance         Pointer to the un-initialized UDP6_INSTANCE_DATA.\r
 \r
   @param[in]       Udp6Service      Pointer to the UDP6_SERVICE_DATA.\r
   @param[in, out]  Instance         Pointer to the un-initialized UDP6_INSTANCE_DATA.\r
@@ -575,7 +575,7 @@ Udp6FindInstanceByPort (
 \r
 /**\r
   This function tries to bind the udp instance according to the configured port\r
 \r
 /**\r
   This function tries to bind the udp instance according to the configured port\r
-  allocation stragety.\r
+  allocation strategy.\r
 \r
   @param[in]  InstanceList       Pointer to the head of the list linking the udp\r
                                  instances.\r
 \r
   @param[in]  InstanceList       Pointer to the head of the list linking the udp\r
                                  instances.\r
@@ -832,7 +832,7 @@ Udp6ValidateTxToken (
 \r
     if ((UdpSessionData->DestinationPort == 0) && (ConfigData->RemotePort == 0)) {\r
       //\r
 \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
       //\r
       return EFI_INVALID_PARAMETER;\r
     }\r
@@ -841,7 +841,7 @@ Udp6ValidateTxToken (
         NetIp6IsUnspecifiedAddr (&ConfigData->RemoteAddress)\r
         ) {\r
       //\r
         NetIp6IsUnspecifiedAddr (&ConfigData->RemoteAddress)\r
         ) {\r
       //\r
-      // The DestinationAddress is not specificed.\r
+      // The DestinationAddress is not specified.\r
       //\r
       return EFI_INVALID_PARAMETER;\r
     }\r
       //\r
       return EFI_INVALID_PARAMETER;\r
     }\r
@@ -915,7 +915,7 @@ Udp6TokenExist (
   pseudo HeadSum to reduce some overhead.\r
 \r
   @param[in]  Packet           Pointer to the NET_BUF contains the udp datagram.\r
   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
   @return The 16-bit checksum of this udp datagram.\r
                                field.\r
 \r
   @return The 16-bit checksum of this udp datagram.\r
@@ -1123,7 +1123,7 @@ Udp6LeaveGroup (
 \r
 \r
 /**\r
 \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
 \r
   @param[in]  Map             Pointer to the NET_MAP.\r
   @param[in]  Item            Pointer to the NET_MAP_ITEM.\r
@@ -1276,7 +1276,7 @@ Udp6InstanceCancelToken (
                                  from the received udp datagram.\r
 \r
   @retval TRUE     The udp datagram matches the receiving requirements of the Instance.\r
                                  from the received udp datagram.\r
 \r
   @retval TRUE     The udp datagram matches the receiving requirements of the Instance.\r
-  @retval FALSE    The udp datagram does not matche the receiving requirements of the Instance.\r
+  @retval FALSE    The udp datagram does not match the receiving requirements of the Instance.\r
 \r
 **/\r
 BOOLEAN\r
 \r
 **/\r
 BOOLEAN\r
@@ -1814,7 +1814,7 @@ Udp6SendPortUnreach (
     );\r
 \r
   //\r
     );\r
 \r
   //\r
-  // Set the checksum as zero, and IP6 driver will calcuate it with pseudo header.\r
+  // Set the checksum as zero, and IP6 driver will calculate it with pseudo header.\r
   //\r
   IcmpErrHdr->Head.Checksum = 0;\r
 \r
   //\r
   IcmpErrHdr->Head.Checksum = 0;\r
 \r