iPXE
Data Fields
EFI_DNS6_CONFIG_DATA Struct Reference

EFI_DNS6_CONFIG_DATA. More...

#include <Dns6.h>

Data Fields

BOOLEAN EnableDnsCache
 If TRUE, enable DNS cache function for this DNS instance. More...
 
UINT8 Protocol
 Use the protocol number defined in http://www.iana.org/assignments/protocol-numbers. More...
 
EFI_IPv6_ADDRESS StationIp
 The local IP address to use. More...
 
UINT16 LocalPort
 Local port number. More...
 
UINT32 DnsServerCount
 Count of the DNS servers. More...
 
EFI_IPv6_ADDRESSDnsServerList
 Pointer to DNS server list containing DnsServerListCount entries or NULL if DnsServerListCount is 0. More...
 
UINT32 RetryCount
 Retry number if no response received after RetryInterval. More...
 
UINT32 RetryInterval
 Minimum interval of retry is 2 second. More...
 

Detailed Description

EFI_DNS6_CONFIG_DATA.

Definition at line 35 of file Dns6.h.

Field Documentation

◆ EnableDnsCache

BOOLEAN EFI_DNS6_CONFIG_DATA::EnableDnsCache

If TRUE, enable DNS cache function for this DNS instance.

If FALSE, all DNS query will not lookup local DNS cache.

Definition at line 40 of file Dns6.h.

◆ Protocol

UINT8 EFI_DNS6_CONFIG_DATA::Protocol

Use the protocol number defined in http://www.iana.org/assignments/protocol-numbers.

Beside TCP/UDP, Other protocol is invalid value. An implementation can choose to support UDP, or both TCP and UDP.

Definition at line 46 of file Dns6.h.

◆ StationIp

EFI_IPv6_ADDRESS EFI_DNS6_CONFIG_DATA::StationIp

The local IP address to use.

Set to zero to let the underlying IPv6 driver choose a source address. If not zero it must be one of the configured IP addresses in the underlying IPv6 driver.

Definition at line 52 of file Dns6.h.

◆ LocalPort

UINT16 EFI_DNS6_CONFIG_DATA::LocalPort

Local port number.

Set to zero to use the automatically assigned port number.

Definition at line 56 of file Dns6.h.

◆ DnsServerCount

UINT32 EFI_DNS6_CONFIG_DATA::DnsServerCount

Count of the DNS servers.

When used with GetModeData(), this field is the count of originally configured servers when Configure() was called for this instance. When used with Configure() this is the count of caller-supplied servers. If the DnsServerListCount is zero, the DNS server configuration will be retrieved from DHCP server automatically.

Definition at line 65 of file Dns6.h.

◆ DnsServerList

EFI_IPv6_ADDRESS* EFI_DNS6_CONFIG_DATA::DnsServerList

Pointer to DNS server list containing DnsServerListCount entries or NULL if DnsServerListCount is 0.

For Configure(), this will be NULL when there are no caller supplied server addresses and the DNS instance will retrieve DNS server from DHCP Server. The provided DNS server list is recommended to be filled up in the sequence of preference. When used with GetModeData(), the buffer containing the list will be allocated by the driver implementing this protocol and must be freed by the caller. When used with Configure(), the buffer containing the list will be allocated and released by the caller.

Definition at line 77 of file Dns6.h.

◆ RetryCount

UINT32 EFI_DNS6_CONFIG_DATA::RetryCount

Retry number if no response received after RetryInterval.

Definition at line 81 of file Dns6.h.

◆ RetryInterval

UINT32 EFI_DNS6_CONFIG_DATA::RetryInterval

Minimum interval of retry is 2 second.

If the retry interval is less than 2 seconds, then use the 2 seconds.

Definition at line 85 of file Dns6.h.


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