EFI_DHCP4_CONFIG_DATA Struct Reference


Data Fields

UINT32 DiscoverTryCount
UINT32DiscoverTimeout
UINT32 RequestTryCount
UINT32RequestTimeout
EFI_IPv4_ADDRESS ClientAddress
EFI_DHCP4_CALLBACK Dhcp4Callback
VOID * CallbackContext
UINT32 OptionCount
EFI_DHCP4_PACKET_OPTION ** OptionList

Field Documentation

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

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.

The callback function to intercept various events that occurred in the DHCP configuration process. Set to NULL to ignore all those events.

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.

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.

Number of DHCP options in the 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.

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.

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.


Generated on Wed Sep 23 16:24:26 2015 for MdePkg[ALL] by  doxygen 1.5.7.1