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

#include <MdePkg/Include/Protocol/Dns4.h>

Data Fields

EFI_EVENT Event
 
EFI_STATUS Status
 
UINT32 RetryCount
 
UINT32 RetryInterval
 
union {
   DNS_HOST_TO_ADDR_DATA *   H2AData
 
   DNS_ADDR_TO_HOST_DATA *   A2HData
 
   DNS_GENERAL_LOOKUP_DATA *   GLookupData
 
RspData
 

Detailed Description

EFI_DNS4_COMPLETION_TOKEN

Definition at line 226 of file Dns4.h.

Field Documentation

◆ A2HData

DNS_ADDR_TO_HOST_DATA* EFI_DNS4_COMPLETION_TOKEN::A2HData

When the Token is used for host address to host name translation, A2HData is a pointer to the DNS_ADDR_TO_HOST_DATA.

Definition at line 265 of file Dns4.h.

◆ Event

EFI_EVENT EFI_DNS4_COMPLETION_TOKEN::Event

This Event will be signaled after the Status field is updated by the EFI DNS protocol driver. The type of Event must be EFI_NOTIFY_SIGNAL.

Definition at line 231 of file Dns4.h.

◆ GLookupData

DNS_GENERAL_LOOKUP_DATA* EFI_DNS4_COMPLETION_TOKEN::GLookupData

When the Token is used for a general lookup function, GLookupDATA is a pointer to the DNS_GENERAL_LOOKUP_DATA.

Definition at line 270 of file Dns4.h.

◆ H2AData

DNS_HOST_TO_ADDR_DATA* EFI_DNS4_COMPLETION_TOKEN::H2AData

When the Token is used for host name to address translation, H2AData is a pointer to the DNS_HOST_TO_ADDR_DATA.

Definition at line 260 of file Dns4.h.

◆ RetryCount

UINT32 EFI_DNS4_COMPLETION_TOKEN::RetryCount

Retry number if no response received after RetryInterval. If zero, use the parameter configured through Dns.Configure() interface.

Definition at line 246 of file Dns4.h.

◆ RetryInterval

UINT32 EFI_DNS4_COMPLETION_TOKEN::RetryInterval

Minimum interval of retry is 2 second. If the retry interval is less than 2 seconds, then use the 2 seconds. If zero, use the parameter configured through Dns.Configure() interface.

Definition at line 251 of file Dns4.h.

◆ 

union { ... } EFI_DNS4_COMPLETION_TOKEN::RspData

DNSv4 completion token data

◆ Status

EFI_STATUS EFI_DNS4_COMPLETION_TOKEN::Status

Will be set to one of the following values: EFI_SUCCESS: The host name to address translation completed successfully. EFI_NOT_FOUND: No matching Resource Record (RR) is found. EFI_TIMEOUT: No DNS server reachable, or RetryCount was exhausted without response from all specified DNS servers. EFI_DEVICE_ERROR: An unexpected system or network error occurred. EFI_NO_MEDIA: There was a media error.

Definition at line 241 of file Dns4.h.


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