);\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
\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
/**\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
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
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
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
\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
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
//\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