NetworkPkg/HttpDxe/HttpDns.c File Reference


Functions

EFI_STATUS HttpDns4 (IN HTTP_PROTOCOL *HttpInstance, IN CHAR16 *HostName, OUT EFI_IPv4_ADDRESS *IpAddress)

Detailed Description

Routines for HttpDxe driver to perform DNS resolution based on UEFI DNS protocols.

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.


Function Documentation

EFI_STATUS HttpDns4 ( IN HTTP_PROTOCOL HttpInstance,
IN CHAR16 *  HostName,
OUT EFI_IPv4_ADDRESS *  IpAddress 
)

Retrieve the host address using the EFI_DNS4_PROTOCOL.

Parameters:
[in] HttpInstance Pointer to HTTP_PROTOCOL instance.
[in] HostName Pointer to buffer containing hostname.
[out] IpAddress On output, pointer to buffer containing IPv4 address.
Return values:
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().


Generated on Mon Sep 28 08:49:05 2015 for NetworkPkg[ALL] by  doxygen 1.5.7.1