Efi_Pxe_Base_Code.dhcp() - Intel Extensible Firmware Interface Specification

Intel extensible firmware interface specification
Table of Contents

Advertisement

14.1.3 EFI_PXE_BASE_CODE.Dhcp()

Summary
Attempts to complete a DHCPv4 D.O.R.A. (discover / offer / request / acknowledge) or DHCPv6
S.A.R.R (solicit / advertise / request / reply) sequence.
Prototype
EFI_STATUS
(EFIAPI *EFI_PXE_BASE_CODE_DHCP) (
IN EFI_PXE_BASE_CODE
IN BOOLEAN
);
Parameters
This
SortOffers
Description
This function attempts to complete the DHCP sequence. If this sequence is completed, then
is returned, and the DhcpCompleted, ProxyOfferReceived, StationIp,
EFI_SUCCESS
SubnetMask, DhcpDiscover, DhcpAck, and
EFI_PXE_BASE_CODE_MODE
If
is TRUE, then the cached DHCP offer packets will be sorted before they are tried.
SortOffers
If
is FALSE, then the cached DHCP offer packets will be tried in the order in which
SortOffers
they are received. Please see the Preboot Execution Environment (PXE) Specification for
additional details on the implementation of DHCP.
This function can take at least 31 seconds to timeout and return control to the caller. If the DHCP
sequence does not complete, then
If the Callback Protocol does not return
EFI_PXE_BASE_CODE_CALLBACK_STATUS_CONTINUE, then the DHCP sequence will be
stopped and
EFI_ABORTED
Version 1.02
*This,
SortOffers
Pointer to the
EFI_PXE_BASE_CODE
if the offers received should be sorted. Set to
TRUE
offers in the order that they are received.
ProxyOffer
structure are filled in.
will be returned.
EFI_TIMEOUT
will be returned.
12/12/00
PXE Base Code Protocol
instance.
to try the
FALSE
fields of the
251

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the Extensible Firmware Interface and is the answer not in the manual?

Table of Contents