Efi_pxe_base_code.setparameters(), Setparameters(), Func – Intel Extensible Firmware Interface User Manual

Page 667

Advertising
background image

Protocols

— Network Support

Version 1.10

12/01/02

15-61

EFI_PXE_BASE_CODE.SetParameters()

Summary

Updates the parameters that affect the operation of the PXE Base Code Protocol.

Prototype

EFI_STATUS

(EFIAPI *EFI_PXE_BASE_CODE_SET_PARAMETERS) (

IN

EFI_PXE_BASE_CODE

*This,

IN

BOOLEAN

*NewAutoArp, OPTIONAL

IN

BOOLEAN

*NewSendGUID,

OPTIONAL

IN

UINT8

*NewTTL,

OPTIONAL

IN

UINT8

*NewToS,

OPTIONAL

IN

BOOLEAN

*NewMakeCallback

OPTIONAL

);

Parameters

This

Pointer to the

EFI_PXE_BASE_CODE

instance.

NewAutoArp

If not

NULL

, a pointer to a value that specifies whether to replace the

current value of

AutoARP

.

TRUE

for automatic ARP packet generation,

FALSE

otherwise. If

NULL

, this parameter is ignored.

NewSendGUID

If not

NULL

, a pointer to a value that specifies whether to replace the

current value of

SendGUID

.

TRUE

to send the SystemGUID (if there is

one) as the client hardware address in DHCP;

FALSE

to send client NIC

MAC address. If

NULL

, this parameter is ignored. If

NewSendGUID

is

TRUE

and there is no SystemGUID, then

EFI_INVALID_PARAMETER

is returned.

NewTTL

If not

NULL

, a pointer to be used in place of the current value of

TTL

,

the “time to live” field of the IP header. If

NULL

, this parameter is

ignored.

NewToS

If not

NULL

, a pointer to be used in place of the current value of

ToS

,

the “type of service” field of the IP header. If

NULL

, this parameter is

ignored.

NewMakeCallback

If not

NULL

, a pointer to a value that specifies whether to replace the

current value of the

MakeCallback

field of the Mode structure. If

NULL

, this parameter is ignored. If the Callback Protocol is not available

EFI_INVALID_PARAMETER

is returned.

Advertising