This library is only intended to be used by UEFI network stack modules.\r
It provides basic functions for the UEFI network stack.\r
\r
This library is only intended to be used by UEFI network stack modules.\r
It provides basic functions for the UEFI network stack.\r
\r
This program and the accompanying materials\r
are licensed and made available under the terms and conditions of the BSD License\r
which accompanies this distribution. The full text of the license may be found at<BR>\r
This program and the accompanying materials\r
are licensed and made available under the terms and conditions of the BSD License\r
which accompanies this distribution. The full text of the license may be found at<BR>\r
#define NET_ROUNDUP(size, unit) (((size) + (unit) - 1) & (~((unit) - 1)))\r
#define NET_IS_LOWER_CASE_CHAR(Ch) (('a' <= (Ch)) && ((Ch) <= 'z'))\r
#define NET_IS_UPPER_CASE_CHAR(Ch) (('A' <= (Ch)) && ((Ch) <= 'Z'))\r
#define NET_ROUNDUP(size, unit) (((size) + (unit) - 1) & (~((unit) - 1)))\r
#define NET_IS_LOWER_CASE_CHAR(Ch) (('a' <= (Ch)) && ((Ch) <= 'z'))\r
#define NET_IS_UPPER_CASE_CHAR(Ch) (('A' <= (Ch)) && ((Ch) <= 'Z'))\r
\r
@retval EFI_SUCCESS Converted to an IPv4 address successfully.\r
@retval EFI_INVALID_PARAMETER The string is mal-formatted or Ip4Address is NULL.\r
\r
@retval EFI_SUCCESS Converted to an IPv4 address successfully.\r
@retval EFI_INVALID_PARAMETER The string is mal-formatted or Ip4Address is NULL.\r
\r
@retval EFI_SUCCESS Converted to an IPv6 address successfully.\r
@retval EFI_INVALID_PARAMETER The string is malformatted or Ip6Address is NULL.\r
\r
@retval EFI_SUCCESS Converted to an IPv6 address successfully.\r
@retval EFI_INVALID_PARAMETER The string is malformatted or Ip6Address is NULL.\r
\r
@retval EFI_SUCCESS Converted to an IPv6 address successfully.\r
@retval EFI_INVALID_PARAMETER The string is malformatted, or Ip6Address is NULL.\r
\r
@retval EFI_SUCCESS Converted to an IPv6 address successfully.\r
@retval EFI_INVALID_PARAMETER The string is malformatted, or Ip6Address is NULL.\r