@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
\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
\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
} 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
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
@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