TianoCore EDK2 master
Loading...
Searching...
No Matches
EFI_DHCP4_CONFIG_DATA Struct Reference

Data Fields

UINT32 DiscoverTryCount
 
UINT32 * DiscoverTimeout
 
UINT32 RequestTryCount
 
UINT32 * RequestTimeout
 
EFI_IPv4_ADDRESS ClientAddress
 
EFI_DHCP4_CALLBACK Dhcp4Callback
 
VOID * CallbackContext
 
UINT32 OptionCount
 
EFI_DHCP4_PACKET_OPTION ** OptionList
 

Detailed Description

Definition at line 241 of file Dhcp4.h.

Field Documentation

◆ 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 282 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 273 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 278 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 253 of file Dhcp4.h.

◆ 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 247 of file Dhcp4.h.

◆ OptionCount

UINT32 EFI_DHCP4_CONFIG_DATA::OptionCount

Number of DHCP options in the OptionList.

Definition at line 286 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 294 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 265 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 259 of file Dhcp4.h.


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