NetworkPkg/HttpBootDxe/HttpBootImpl.h File Reference


Functions

EFI_STATUS HttpBootDhcp (IN HTTP_BOOT_PRIVATE_DATA *Private)
EFI_STATUS HttpBootStop (IN HTTP_BOOT_PRIVATE_DATA *Private)

Detailed Description

The declaration of UEFI HTTP boot function.

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 that 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 HttpBootDhcp ( IN HTTP_BOOT_PRIVATE_DATA Private  ) 

Attempt to complete a DHCPv4 D.O.R.A sequence to retrieve the boot resource information.

Parameters:
[in] Private The pointer to the driver's private data.
Return values:
EFI_SUCCESS Boot info was successfully retrieved.
EFI_INVALID_PARAMETER Private is NULL.
EFI_NOT_STARTED The driver is in stopped state.
EFI_DEVICE_ERROR An unexpected network error occurred.
Others Other errors as indicated.

References HttpBootDhcp4Dora().

Referenced by HttpBootDiscoverBootInfo().

EFI_STATUS HttpBootStop ( IN HTTP_BOOT_PRIVATE_DATA Private  ) 

Disable the use of UEFI HTTP boot function.

Parameters:
[in] Private The pointer to the driver's private data.
Return values:
EFI_SUCCESS HTTP boot was successfully disabled.
EFI_NOT_STARTED The driver is already in stopped state.
EFI_INVALID_PARAMETER Private is NULL.
Others Unexpected error when stop the function.

References HTTP_BOOT_OFFER_MAX_NUM, HttpIoDestroyIo(), and HttpOfferTypeMax.

Referenced by HttpBootDxeLoadFile(), and HttpBootIp4DxeDriverBindingStop().


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