Functions | |
EFI_STATUS | HttpDns4 (IN HTTP_PROTOCOL *HttpInstance, IN CHAR16 *HostName, OUT EFI_IPv4_ADDRESS *IpAddress) |
Copyright (c) 2015, Intel Corporation. All rights reserved.
This program and the accompanying materials are licensed and made available under the terms and conditions of the BSD License which accompanies this distribution. The full text of the license may be found at http://opensource.org/licenses/bsd-license.php
THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
EFI_STATUS HttpDns4 | ( | IN HTTP_PROTOCOL * | HttpInstance, | |
IN CHAR16 * | HostName, | |||
OUT EFI_IPv4_ADDRESS * | IpAddress | |||
) |
Retrieve the host address using the EFI_DNS4_PROTOCOL.
[in] | HttpInstance | Pointer to HTTP_PROTOCOL instance. |
[in] | HostName | Pointer to buffer containing hostname. |
[out] | IpAddress | On output, pointer to buffer containing IPv4 address. |
EFI_SUCCESS | Operation succeeded. | |
EFI_OUT_OF_RESOURCES | Failed to allocate needed resources. | |
EFI_DEVICE_ERROR | An unexpected network error occurred. | |
Others | Other errors as indicated. |
References _HTTP_SERVICE::ControllerHandle, HttpCommonNotify(), and _HTTP_SERVICE::ImageHandle.
Referenced by EfiHttpRequest().