Efi_pxe_base_code.discover(), Discover(), Func – Intel Extensible Firmware Interface User Manual
Page 653: By the

Protocols
— Network Support
Version 1.10
12/01/02
15-47
EFI_PXE_BASE_CODE.Discover()
Summary
Attempts to complete the PXE Boot Server and/or boot image discovery sequence.
Prototype
EFI_STATUS
(EFIAPI *EFI_PXE_BASE_CODE_DISCOVER) (
IN
EFI_PXE_BASE_CODE
*This,
IN
UINT16
Type,
IN
UINT16
*Layer,
IN
BOOLEAN
UseBis,
IN EFI_PXE_BASE_CODE_DISCOVER_INFO
*Info OPTIONAL
);
Parameters
This
Pointer to the
instance.
Type
The type of bootstrap to perform. See “Related Definitions” below.
Layer
Pointer to the boot server layer number to discover, which must be
PXE_BOOT_LAYER_INITIAL
when a new server type is being
discovered. This is the only layer type that will perform multicast and
broadcast discovery. All other layer types will only perform unicast
discovery. If the boot server changes
Layer
, then the new
Layer
will
be returned.
UseBis
TRUE
if Boot Integrity Services are to be used. False otherwise.
Info
Pointer to a data structure that contains additional information on the
type of discovery operation that is to be performed. If this field is
NULL
,
then the contents of the cached
DhcpAck
and
ProxyOffer
packets
will be used.
Related Definitions
//*******************************************************
// Bootstrap Types
//*******************************************************
#define EFI_PXE_BASE_CODE_BOOT_TYPE_BOOTSTRAP
0
#define EFI_PXE_BASE_CODE_BOOT_TYPE_MS_WINNT_RIS
1
#define EFI_PXE_BASE_CODE_BOOT_TYPE_INTEL_LCM
2
#define
EFI_PXE_BASE_CODE_BOOT_TYPE_DOSUNDI
3
#define EFI_PXE_BASE_CODE_BOOT_TYPE_NEC_ESMPRO
4
#define EFI_PXE_BASE_CODE_BOOT_TYPE_IBM_WSoD
5
#define EFI_PXE_BASE_CODE_BOOT_TYPE_IBM_LCCM
6
#define EFI_PXE_BASE_CODE_BOOT_TYPE_CA_UNICENTER_TNG
7