\r
\r
/**\r
- Check whether two ascii strings are equel, ignore the case.\r
+ Check whether two ascii strings are equal, ignore the case.\r
\r
@param Str1 The first ascii string\r
@param Str2 The second ascii string\r
\r
@retval TRUE Two strings are equal when case is ignored.\r
- @retval FALSE Two string are not equal.\r
+ @retval FALSE Two strings are not equal.\r
\r
**/\r
BOOLEAN\r
Convert a string of the format "192.168.0.1" to an IP address.\r
\r
@param Str The string representation of IP\r
- @param Ip The varible to get IP.\r
+ @param Ip The variable to get IP.\r
\r
@retval EFI_INVALID_PARAMETER The IP string is invalid.\r
@retval EFI_SUCCESS The IP is parsed into the Ip\r
Addr = (Addr << 8) | Byte;\r
\r
//\r
- // Skip all the digitals and check whether the sepeator is the dot\r
+ // Skip all the digitals and check whether the separator is the dot\r
//\r
while (NET_IS_DIGIT (*Str)) {\r
Str++;\r
@param OptionList The point to get the option array.\r
\r
@retval EFI_INVALID_PARAMETER The parametera are invalid or packet isn't a\r
- well-formated OACK packet.\r
+ well-formatted OACK packet.\r
@retval EFI_SUCCESS The option array is build\r
@retval EFI_OUT_OF_RESOURCES Failed to allocate memory for the array\r
\r
UINT32 Num;\r
\r
//\r
- // The multicast option is formated like "204.0.0.1,1857,1"\r
+ // The multicast option is formatted like "204.0.0.1,1857,1"\r
// The server can also omit the ip and port, use ",,1"\r
//\r
if (*Value == ',') {\r
} else if (NetStringEqualNoCase (This->OptionStr, (UINT8 *) "multicast")) {\r
//\r
// Multicast option, if it is a request, the value must be a zero\r
- // length string, otherwise, it is formated like "204.0.0.1,1857,1\0"\r
+ // length string, otherwise, it is formatted like "204.0.0.1,1857,1\0"\r
//\r
if (Request) {\r
if (*(This->ValueStr) != '\0') {\r