iPXE
Data Fields
EFI_DHCP4_CONFIG_DATA Struct Reference

#include <Dhcp4.h>

Data Fields

UINT32 DiscoverTryCount
 The number of times to try sending a packet during the Dhcp4SendDiscover event and waiting for a response during the Dhcp4RcvdOffer event. More...
 
UINT32DiscoverTimeout
 The maximum amount of time (in seconds) to wait for returned packets in each of the retries. More...
 
UINT32 RequestTryCount
 The number of times to try sending a packet during the Dhcp4SendRequest event and waiting for a response during the Dhcp4RcvdAck event before accepting failure. More...
 
UINT32RequestTimeout
 The maximum amount of time (in seconds) to wait for return packets in each of the retries. More...
 
EFI_IPv4_ADDRESS ClientAddress
 For a DHCPDISCOVER, setting this parameter to the previously allocated IP address will cause the EFI DHCPv4 Protocol driver to enter the Dhcp4InitReboot state. More...
 
EFI_DHCP4_CALLBACK Dhcp4Callback
 The callback function to intercept various events that occurred in the DHCP configuration process. More...
 
VOIDCallbackContext
 The pointer to the context that will be passed to Dhcp4Callback when it is called. More...
 
UINT32 OptionCount
 Number of DHCP options in the OptionList. More...
 
EFI_DHCP4_PACKET_OPTION ** OptionList
 List of DHCP options to be included in every packet that is sent during the Dhcp4SendDiscover event. More...
 

Detailed Description

Definition at line 243 of file Dhcp4.h.

Field Documentation

◆ DiscoverTryCount

UINT32 EFI_DHCP4_CONFIG_DATA::DiscoverTryCount

The number of times to try sending a packet during the Dhcp4SendDiscover event and waiting for a response during the Dhcp4RcvdOffer event.

Set to zero to use the default try counts and timeout values.

Definition at line 249 of file Dhcp4.h.

◆ DiscoverTimeout

UINT32* EFI_DHCP4_CONFIG_DATA::DiscoverTimeout

The maximum amount of time (in seconds) to wait for returned packets in each of the retries.

Timeout values of zero will default to a timeout value of one second. Set to NULL to use default timeout values.

Definition at line 255 of file Dhcp4.h.

◆ RequestTryCount

UINT32 EFI_DHCP4_CONFIG_DATA::RequestTryCount

The number of times to try sending a packet during the Dhcp4SendRequest event and waiting for a response during the Dhcp4RcvdAck event before accepting failure.

Set to zero to use the default try counts and timeout values.

Definition at line 261 of file Dhcp4.h.

◆ RequestTimeout

UINT32* EFI_DHCP4_CONFIG_DATA::RequestTimeout

The maximum amount of time (in seconds) to wait for return packets in each of the retries.

Timeout values of zero will default to a timeout value of one second. Set to NULL to use default timeout values.

Definition at line 267 of file Dhcp4.h.

◆ ClientAddress

EFI_IPv4_ADDRESS EFI_DHCP4_CONFIG_DATA::ClientAddress

For a DHCPDISCOVER, setting this parameter to the previously allocated IP address will cause the EFI DHCPv4 Protocol driver to enter the Dhcp4InitReboot state.

And set this field to 0.0.0.0 to enter the Dhcp4Init state. For a DHCPINFORM this parameter should be set to the client network address which was assigned to the client during a DHCPDISCOVER.

Definition at line 275 of file Dhcp4.h.

◆ Dhcp4Callback

EFI_DHCP4_CALLBACK EFI_DHCP4_CONFIG_DATA::Dhcp4Callback

The callback function to intercept various events that occurred in the DHCP configuration process.

Set to NULL to ignore all those events.

Definition at line 280 of file Dhcp4.h.

◆ CallbackContext

VOID* EFI_DHCP4_CONFIG_DATA::CallbackContext

The pointer to the context that will be passed to Dhcp4Callback when it is called.

Definition at line 284 of file Dhcp4.h.

◆ OptionCount

UINT32 EFI_DHCP4_CONFIG_DATA::OptionCount

Number of DHCP options in the OptionList.

Definition at line 288 of file Dhcp4.h.

◆ OptionList

EFI_DHCP4_PACKET_OPTION** EFI_DHCP4_CONFIG_DATA::OptionList

List of DHCP options to be included in every packet that is sent during the Dhcp4SendDiscover event.

Pad options are appended automatically by DHCP driver in outgoing DHCP packets. If OptionList itself contains pad option, they are ignored by the driver. OptionList can be freed after EFI_DHCP4_PROTOCOL.Configure() returns. Ignored if OptionCount is zero.

Definition at line 296 of file Dhcp4.h.


The documentation for this struct was generated from the following file: