iPXE
Dns6.h
Go to the documentation of this file.
1/** @file
2 This file defines the EFI DNSv6 (Domain Name Service version 6) Protocol. It is split
3 into the following two main sections:
4 DNSv6 Service Binding Protocol (DNSv6SB)
5 DNSv6 Protocol (DNSv6)
6
7 Copyright (c) 2015 - 2018, Intel Corporation. All rights reserved.<BR>
8 SPDX-License-Identifier: BSD-2-Clause-Patent
9
10 @par Revision Reference:
11 This Protocol is introduced in UEFI Specification 2.5
12
13**/
14
15#pragma once
16
17FILE_LICENCE ( BSD2_PATENT );
18FILE_SECBOOT ( PERMITTED );
19
20#define EFI_DNS6_SERVICE_BINDING_PROTOCOL_GUID \
21 { \
22 0x7f1647c8, 0xb76e, 0x44b2, {0xa5, 0x65, 0xf7, 0xf, 0xf1, 0x9c, 0xd1, 0x9e } \
23 }
24
25#define EFI_DNS6_PROTOCOL_GUID \
26 { \
27 0xca37bc1f, 0xa327, 0x4ae9, {0x82, 0x8a, 0x8c, 0x40, 0xd8, 0x50, 0x6a, 0x17 } \
28 }
29
31
32///
33/// EFI_DNS6_CONFIG_DATA
34///
35typedef struct {
36 ///
37 /// If TRUE, enable DNS cache function for this DNS instance. If FALSE, all DNS query
38 /// will not lookup local DNS cache.
39 ///
41 ///
42 /// Use the protocol number defined in
43 /// http://www.iana.org/assignments/protocol-numbers. Beside TCP/UDP, Other protocol
44 /// is invalid value. An implementation can choose to support UDP, or both TCP and UDP.
45 ///
47 ///
48 /// The local IP address to use. Set to zero to let the underlying IPv6
49 /// driver choose a source address. If not zero it must be one of the
50 /// configured IP addresses in the underlying IPv6 driver.
51 ///
53 ///
54 /// Local port number. Set to zero to use the automatically assigned port number.
55 ///
57 ///
58 /// Count of the DNS servers. When used with GetModeData(),
59 /// this field is the count of originally configured servers when
60 /// Configure() was called for this instance. When used with
61 /// Configure() this is the count of caller-supplied servers. If the
62 /// DnsServerListCount is zero, the DNS server configuration
63 /// will be retrieved from DHCP server automatically.
64 ///
66 ///
67 /// Pointer to DNS server list containing DnsServerListCount
68 /// entries or NULL if DnsServerListCount is 0. For Configure(),
69 /// this will be NULL when there are no caller supplied server addresses
70 /// and the DNS instance will retrieve DNS server from DHCP Server.
71 /// The provided DNS server list is recommended to be filled up in the sequence
72 /// of preference. When used with GetModeData(), the buffer containing the list
73 /// will be allocated by the driver implementing this protocol and must be
74 /// freed by the caller. When used with Configure(), the buffer
75 /// containing the list will be allocated and released by the caller.
76 ///
78 ///
79 /// Retry number if no response received after RetryInterval.
80 ///
82 ///
83 /// Minimum interval of retry is 2 second. If the retry interval is less than 2
84 /// seconds, then use the 2 seconds.
87
88///
89/// EFI_DNS6_CACHE_ENTRY
90///
91typedef struct {
92 ///
93 /// Host name. This should be interpreted as Unicode characters.
94 ///
96 ///
97 /// IP address of this host.
98 ///
100 ///
101 /// Time in second unit that this entry will remain in DNS cache. A value of zero means
102 /// that this entry is permanent. A nonzero value will override the existing one if
103 /// this entry to be added is dynamic entry. Implementations may set its default
104 /// timeout value for the dynamically created DNS cache entry after one DNS resolve
105 /// succeeds.
108
109///
110/// EFI_DNS6_MODE_DATA
111///
112typedef struct {
113 ///
114 /// The configuration data of this instance.
115 ///
117 ///
118 /// Number of configured DNS6 servers.
119 ///
121 ///
122 /// Pointer to common list of addresses of all configured DNS server used by EFI_DNS6_PROTOCOL
123 /// instances. List will include DNS servers configured by this or any other EFI_DNS6_PROTOCOL
124 /// instance. The storage for this list is allocated by the driver publishing this protocol,
125 /// and must be freed by the caller.
126 ///
128 ///
129 /// Number of DNS Cache entries. The DNS Cache is shared among all DNS instances.
130 ///
132 ///
133 /// Pointer to a buffer containing DnsCacheCount DNS Cache
134 /// entry structures. The storage for thislist is allocated by the driver
135 /// publishing this protocol and must be freed by caller.
136 ///
139
140///
141/// DNS6_HOST_TO_ADDR_DATA
142///
143typedef struct {
144 ///
145 /// Number of the returned IP address.
146 ///
148 ///
149 /// Pointer to the all the returned IP address.
150 ///
153
154///
155/// DNS6_ADDR_TO_HOST_DATA
156///
157typedef struct {
158 ///
159 /// Pointer to the primary name for this host address. It's the caller's
160 /// responsibility to free the response memory.
161 ///
164
165///
166/// DNS6_RESOURCE_RECORD
167///
168typedef struct {
169 ///
170 /// The Owner name.
171 ///
173 ///
174 /// The Type Code of this RR.
175 ///
177 ///
178 /// The CLASS code of this RR.
179 ///
181 ///
182 /// 32 bit integer which specify the time interval that the resource record may be
183 /// cached before the source of the information should again be consulted. Zero means
184 /// this RR cannot be cached.
185 ///
187 ///
188 /// 16 big integer which specify the length of RData.
189 ///
191 ///
192 /// A string of octets that describe the resource, the format of this information
193 /// varies according to QType and QClass difference.
194 ///
197
198///
199/// DNS6_GENERAL_LOOKUP_DATA
200///
201typedef struct {
202 ///
203 /// Number of returned matching RRs.
204 ///
206 ///
207 /// Pointer to the all the returned matching RRs. It's caller responsibility to free
208 /// the allocated memory to hold the returned RRs.
209 ///
212
213///
214/// EFI_DNS6_COMPLETION_TOKEN
215///
216typedef struct {
217 ///
218 /// This Event will be signaled after the Status field is updated by the EFI DNSv6
219 /// protocol driver. The type of Event must be EFI_NOTIFY_SIGNAL.
220 ///
222 ///
223 /// Will be set to one of the following values:
224 /// EFI_SUCCESS: The host name to address translation completed successfully.
225 /// EFI_NOT_FOUND: No matching Resource Record (RR) is found.
226 /// EFI_TIMEOUT: No DNS server reachable, or RetryCount was exhausted without
227 /// response from all specified DNS servers.
228 /// EFI_DEVICE_ERROR: An unexpected system or network error occurred.
229 /// EFI_NO_MEDIA: There was a media error.
230 ///
232 ///
233 /// The parameter configured through DNSv6.Configure() interface. Retry number if no
234 /// response received after RetryInterval.
235 ///
237 ///
238 /// The parameter configured through DNSv6.Configure() interface. Minimum interval of
239 /// retry is 2 seconds. If the retry interval is less than 2 seconds, then use the 2
240 /// seconds.
241 ///
243 ///
244 /// DNSv6 completion token data
245 ///
246 union {
247 ///
248 /// When the Token is used for host name to address translation, H2AData is a pointer
249 /// to the DNS6_HOST_TO_ADDR_DATA.
250 ///
252 ///
253 /// When the Token is used for host address to host name translation, A2HData is a
254 /// pointer to the DNS6_ADDR_TO_HOST_DATA.
255 ///
257 ///
258 /// When the Token is used for a general lookup function, GLookupDATA is a pointer to
259 /// the DNS6_GENERAL_LOOKUP_DATA.
260 ///
262 } RspData;
264
265/**
266 Retrieve mode data of this DNS instance.
267
268 This function is used to retrieve DNS mode data for this DNS instance.
269
270 @param[in] This Pointer to EFI_DNS6_PROTOCOL instance.
271 @param[out] DnsModeData Pointer to the caller-allocated storage for the
272 EFI_DNS6_MODE_DATA data.
273
274 @retval EFI_SUCCESS The operation completed successfully.
275 @retval EFI_NOT_STARTED When DnsConfigData is queried, no configuration data
276 is available because this instance has not been
277 configured.
278 @retval EFI_INVALID_PARAMETER This is NULL or DnsModeData is NULL.
279 @retval EFI_OUT_OF_RESOURCE Failed to allocate needed resources.
280**/
281typedef
284 IN EFI_DNS6_PROTOCOL *This,
285 OUT EFI_DNS6_MODE_DATA *DnsModeData
286 );
287
288/**
289 Configure this DNS instance.
290
291 The Configure() function is used to set and change the configuration data for this
292 EFI DNSv6 Protocol driver instance. Reset the DNS instance if DnsConfigData is NULL.
293
294 @param[in] This Pointer to EFI_DNS6_PROTOCOL instance.
295 @param[in] DnsConfigData Pointer to the configuration data structure. All associated
296 storage to be allocated and released by caller.
297
298 @retval EFI_SUCCESS The operation completed successfully.
299 @retval EFI_INVALID_PARAMETER This is NULL.
300 The StationIp address provided in DnsConfigData is not zero and not a valid unicast.
301 DnsServerList is NULL while DnsServerList Count is not ZERO.
302 DnsServerList Count is ZERO while DnsServerList is not NULL.
303 @retval EFI_OUT_OF_RESOURCES The DNS instance data or required space could not be allocated.
304 @retval EFI_DEVICE_ERROR An unexpected system or network error occurred. The
305 EFI DNSv6 Protocol instance is not configured.
306 @retval EFI_UNSUPPORTED The designated protocol is not supported.
307 @retval EFI_ALREADY_STARTED Second call to Configure() with DnsConfigData. To
308 reconfigure the instance the caller must call Configure() with
309 NULL first to return driver to unconfigured state.
310**/
311typedef
314 IN EFI_DNS6_PROTOCOL *This,
315 IN EFI_DNS6_CONFIG_DATA *DnsConfigData
316 );
317
318/**
319 Host name to host address translation.
320
321 The HostNameToIp () function is used to translate the host name to host IP address. A
322 type AAAA query is used to get the one or more IPv6 addresses for this host.
323
324 @param[in] This Pointer to EFI_DNS6_PROTOCOL instance.
325 @param[in] HostName Host name.
326 @param[in] Token Point to the completion token to translate host name
327 to host address.
328
329 @retval EFI_SUCCESS The operation completed successfully.
330 @retval EFI_INVALID_PARAMETER One or more of the following conditions is TRUE:
331 This is NULL.
332 Token is NULL.
333 Token.Event is NULL.
334 HostName is NULL or buffer contained unsupported characters.
335 @retval EFI_NO_MAPPING There's no source address is available for use.
336 @retval EFI_ALREADY_STARTED This Token is being used in another DNS session.
337 @retval EFI_NOT_STARTED This instance has not been started.
338 @retval EFI_OUT_OF_RESOURCES Failed to allocate needed resources.
339**/
340typedef
343 IN EFI_DNS6_PROTOCOL *This,
344 IN CHAR16 *HostName,
346 );
347
348/**
349 Host address to host name translation.
350
351 The IpToHostName () function is used to translate the host address to host name. A
352 type PTR query is used to get the primary name of the host. Implementation can choose
353 to support this function or not.
354
355 @param[in] This Pointer to EFI_DNS6_PROTOCOL instance.
356 @param[in] IpAddress Ip Address.
357 @param[in] Token Point to the completion token to translate host
358 address to host name.
359
360 @retval EFI_SUCCESS The operation completed successfully.
361 @retval EFI_UNSUPPORTED This function is not supported.
362 @retval EFI_INVALID_PARAMETER One or more of the following conditions is TRUE:
363 This is NULL.
364 Token is NULL.
365 Token.Event is NULL.
366 IpAddress is not valid IP address.
367 @retval EFI_NO_MAPPING There's no source address is available for use.
368 @retval EFI_NOT_STARTED This instance has not been started.
369 @retval EFI_OUT_OF_RESOURCES Failed to allocate needed resources.
370**/
371typedef
374 IN EFI_DNS6_PROTOCOL *This,
375 IN EFI_IPv6_ADDRESS IpAddress,
377 );
378
379/**
380 This function provides capability to retrieve arbitrary information from the DNS
381 server.
382
383 This GeneralLookup() function retrieves arbitrary information from the DNS. The caller
384 supplies a QNAME, QTYPE, and QCLASS, and all of the matching RRs are returned. All
385 RR content (e.g., TTL) was returned. The caller need parse the returned RR to get
386 required information. The function is optional. Implementation can choose to support
387 it or not.
388
389 @param[in] This Pointer to EFI_DNS6_PROTOCOL instance.
390 @param[in] QName Pointer to Query Name.
391 @param[in] QType Query Type.
392 @param[in] QClass Query Name.
393 @param[in] Token Point to the completion token to retrieve arbitrary
394 information.
395
396 @retval EFI_SUCCESS The operation completed successfully.
397 @retval EFI_UNSUPPORTED This function is not supported. Or the requested
398 QType is not supported
399 @retval EFI_INVALID_PARAMETER One or more of the following conditions is TRUE:
400 This is NULL.
401 Token is NULL.
402 Token.Event is NULL.
403 QName is NULL.
404 @retval EFI_NO_MAPPING There's no source address is available for use.
405 @retval EFI_NOT_STARTED This instance has not been started.
406 @retval EFI_OUT_OF_RESOURCES Failed to allocate needed resources.
407**/
408typedef
411 IN EFI_DNS6_PROTOCOL *This,
412 IN CHAR8 *QName,
413 IN UINT16 QType,
414 IN UINT16 QClass,
416 );
417
418/**
419 This function is to update the DNS Cache.
420
421 The UpdateDnsCache() function is used to add/delete/modify DNS cache entry. DNS cache
422 can be normally dynamically updated after the DNS resolve succeeds. This function
423 provided capability to manually add/delete/modify the DNS cache.
424
425 @param[in] This Pointer to EFI_DNS6_PROTOCOL instance.
426 @param[in] DeleteFlag If FALSE, this function is to add one entry to the
427 DNS Cahce. If TRUE, this function will delete
428 matching DNS Cache entry.
429 @param[in] Override If TRUE, the maching DNS cache entry will be
430 overwritten with the supplied parameter. If FALSE,
431 EFI_ACCESS_DENIED will be returned if the entry to
432 be added is already existed.
433 @param[in] DnsCacheEntry Pointer to DNS Cache entry.
434
435 @retval EFI_SUCCESS The operation completed successfully.
436 @retval EFI_INVALID_PARAMETER One or more of the following conditions is TRUE:
437 This is NULL.
438 DnsCacheEntry.HostName is NULL.
439 DnsCacheEntry.IpAddress is NULL.
440 DnsCacheEntry.Timeout is zero.
441 @retval EFI_ACCESS_DENIED The DNS cache entry already exists and Override is
442 not TRUE.
443 @retval EFI_OUT_OF_RESOURCE Failed to allocate needed resources.
444**/
445typedef
448 IN EFI_DNS6_PROTOCOL *This,
449 IN BOOLEAN DeleteFlag,
450 IN BOOLEAN Override,
451 IN EFI_DNS6_CACHE_ENTRY DnsCacheEntry
452 );
453
454/**
455 Polls for incoming data packets and processes outgoing data packets.
456
457 The Poll() function can be used by network drivers and applications to increase the
458 rate that data packets are moved between the communications device and the transmit
459 and receive queues.
460
461 In some systems, the periodic timer event in the managed network driver may not poll
462 the underlying communications device fast enough to transmit and/or receive all data
463 packets without missing incoming packets or dropping outgoing packets. Drivers and
464 applications that are experiencing packet loss should try calling the Poll()
465 function more often.
466
467 @param[in] This Pointer to EFI_DNS6_PROTOCOL instance.
468
469 @retval EFI_SUCCESS Incoming or outgoing data was processed.
470 @retval EFI_NOT_STARTED This EFI DNS Protocol instance has not been started.
471 @retval EFI_INVALID_PARAMETER This is NULL.
472 @retval EFI_NO_MAPPING There is no source address is available for use.
473 @retval EFI_DEVICE_ERROR An unexpected system or network error occurred.
474 @retval EFI_TIMEOUT Data was dropped out of the transmit and/or receive
475 queue. Consider increasing the polling rate.
476**/
477typedef
481 );
482
483/**
484 Abort an asynchronous DNS operation, including translation between IP and Host, and
485 general look up behavior.
486
487 The Cancel() function is used to abort a pending resolution request. After calling
488 this function, Token.Status will be set to EFI_ABORTED and then Token.Event will be
489 signaled. If the token is not in one of the queues, which usually means that the
490 asynchronous operation has completed, this function will not signal the token and
491 EFI_NOT_FOUND is returned.
492
493 @param[in] This Pointer to EFI_DNS6_PROTOCOL instance.
494 @param[in] Token Pointer to a token that has been issued by
495 EFI_DNS6_PROTOCOL.HostNameToIp (),
496 EFI_DNS6_PROTOCOL.IpToHostName() or
497 EFI_DNS6_PROTOCOL.GeneralLookup().
498 If NULL, all pending tokens are aborted.
499
500 @retval EFI_SUCCESS Incoming or outgoing data was processed.
501 @retval EFI_NOT_STARTED This EFI DNS6 Protocol instance has not been started.
502 @retval EFI_INVALID_PARAMETER This is NULL.
503 @retval EFI_NO_MAPPING There's no source address is available for use.
504 @retval EFI_NOT_FOUND When Token is not NULL, and the asynchronous DNS
505 operation was not found in the transmit queue. It
506 was either completed or was not issued by
507 HostNameToIp(), IpToHostName() or GeneralLookup().
508**/
509typedef
512 IN EFI_DNS6_PROTOCOL *This,
514 );
515
516///
517/// The EFI_DNS6_PROTOCOL provides the function to get the host name and address
518/// mapping, also provide pass through interface to retrieve arbitrary information from
519/// DNSv6.
520///
531
unsigned short UINT16
2-byte unsigned value.
unsigned char BOOLEAN
Logical Boolean.
char CHAR8
1-byte Character
UINT64 UINTN
Unsigned value of native width.
unsigned short CHAR16
2-byte Character.
#define EFIAPI
unsigned char UINT8
1-byte unsigned value.
unsigned int UINT32
4-byte unsigned value.
EFI_STATUS(EFIAPI * EFI_DNS6_HOST_NAME_TO_IP)(IN EFI_DNS6_PROTOCOL *This, IN CHAR16 *HostName, IN EFI_DNS6_COMPLETION_TOKEN *Token)
Host name to host address translation.
Definition Dns6.h:342
EFI_STATUS(EFIAPI * EFI_DNS6_GET_MODE_DATA)(IN EFI_DNS6_PROTOCOL *This, OUT EFI_DNS6_MODE_DATA *DnsModeData)
Retrieve mode data of this DNS instance.
Definition Dns6.h:283
EFI_STATUS(EFIAPI * EFI_DNS6_POLL)(IN EFI_DNS6_PROTOCOL *This)
Polls for incoming data packets and processes outgoing data packets.
Definition Dns6.h:479
EFI_STATUS(EFIAPI * EFI_DNS6_CONFIGURE)(IN EFI_DNS6_PROTOCOL *This, IN EFI_DNS6_CONFIG_DATA *DnsConfigData)
Configure this DNS instance.
Definition Dns6.h:313
EFI_STATUS(EFIAPI * EFI_DNS6_GENERAL_LOOKUP)(IN EFI_DNS6_PROTOCOL *This, IN CHAR8 *QName, IN UINT16 QType, IN UINT16 QClass, IN EFI_DNS6_COMPLETION_TOKEN *Token)
This function provides capability to retrieve arbitrary information from the DNS server.
Definition Dns6.h:410
EFI_STATUS(EFIAPI * EFI_DNS6_IP_TO_HOST_NAME)(IN EFI_DNS6_PROTOCOL *This, IN EFI_IPv6_ADDRESS IpAddress, IN EFI_DNS6_COMPLETION_TOKEN *Token)
Host address to host name translation.
Definition Dns6.h:373
EFI_GUID gEfiDns6ProtocolGuid
EFI_STATUS(EFIAPI * EFI_DNS6_CANCEL)(IN EFI_DNS6_PROTOCOL *This, IN EFI_DNS6_COMPLETION_TOKEN *Token)
Abort an asynchronous DNS operation, including translation between IP and Host, and general look up b...
Definition Dns6.h:511
EFI_STATUS(EFIAPI * EFI_DNS6_UPDATE_DNS_CACHE)(IN EFI_DNS6_PROTOCOL *This, IN BOOLEAN DeleteFlag, IN BOOLEAN Override, IN EFI_DNS6_CACHE_ENTRY DnsCacheEntry)
This function is to update the DNS Cache.
Definition Dns6.h:447
EFI_GUID gEfiDns6ServiceBindingProtocolGuid
struct _EFI_DNS6_PROTOCOL EFI_DNS6_PROTOCOL
Definition Dns6.h:30
IPv6_ADDRESS EFI_IPv6_ADDRESS
16-byte buffer.
RETURN_STATUS EFI_STATUS
Function return status for EFI API.
GUID EFI_GUID
128-bit buffer containing a unique identifier value.
#define FILE_LICENCE(_licence)
Declare a particular licence as applying to a file.
Definition compiler.h:921
#define FILE_SECBOOT(_status)
Declare a file's UEFI Secure Boot permission status.
Definition compiler.h:951
#define EFI_EVENT
Definition efi.h:54
#define IN
Definition mlx_utils.h:28
#define OUT
Definition mlx_utils.h:29
DNS6_ADDR_TO_HOST_DATA.
Definition Dns6.h:157
CHAR16 * HostName
Pointer to the primary name for this host address.
Definition Dns6.h:162
DNS6_GENERAL_LOOKUP_DATA.
Definition Dns6.h:201
UINTN RRCount
Number of returned matching RRs.
Definition Dns6.h:205
DNS6_RESOURCE_RECORD * RRList
Pointer to the all the returned matching RRs.
Definition Dns6.h:210
DNS6_HOST_TO_ADDR_DATA.
Definition Dns6.h:143
EFI_IPv6_ADDRESS * IpList
Pointer to the all the returned IP address.
Definition Dns6.h:151
UINT32 IpCount
Number of the returned IP address.
Definition Dns6.h:147
DNS6_RESOURCE_RECORD.
Definition Dns6.h:168
UINT16 QClass
The CLASS code of this RR.
Definition Dns6.h:180
UINT32 TTL
32 bit integer which specify the time interval that the resource record may be cached before the sour...
Definition Dns6.h:186
CHAR8 * RData
A string of octets that describe the resource, the format of this information varies according to QTy...
Definition Dns6.h:195
CHAR8 * QName
The Owner name.
Definition Dns6.h:172
UINT16 QType
The Type Code of this RR.
Definition Dns6.h:176
UINT16 DataLength
16 big integer which specify the length of RData.
Definition Dns6.h:190
EFI_DNS6_CACHE_ENTRY.
Definition Dns6.h:91
EFI_IPv6_ADDRESS * IpAddress
IP address of this host.
Definition Dns6.h:99
CHAR16 * HostName
Host name.
Definition Dns6.h:95
UINT32 Timeout
Time in second unit that this entry will remain in DNS cache.
Definition Dns6.h:106
EFI_DNS6_COMPLETION_TOKEN.
Definition Dns6.h:216
DNS6_HOST_TO_ADDR_DATA * H2AData
When the Token is used for host name to address translation, H2AData is a pointer to the DNS6_HOST_TO...
Definition Dns6.h:251
DNS6_GENERAL_LOOKUP_DATA * GLookupData
When the Token is used for a general lookup function, GLookupDATA is a pointer to the DNS6_GENERAL_LO...
Definition Dns6.h:261
EFI_EVENT Event
This Event will be signaled after the Status field is updated by the EFI DNSv6 protocol driver.
Definition Dns6.h:221
EFI_STATUS Status
Will be set to one of the following values: EFI_SUCCESS: The host name to address translation complet...
Definition Dns6.h:231
UINT32 RetryCount
The parameter configured through DNSv6.Configure() interface.
Definition Dns6.h:236
DNS6_ADDR_TO_HOST_DATA * A2HData
When the Token is used for host address to host name translation, A2HData is a pointer to the DNS6_AD...
Definition Dns6.h:256
UINT32 RetryInterval
The parameter configured through DNSv6.Configure() interface.
Definition Dns6.h:242
EFI_DNS6_CONFIG_DATA.
Definition Dns6.h:35
UINT32 RetryCount
Retry number if no response received after RetryInterval.
Definition Dns6.h:81
UINT8 Protocol
Use the protocol number defined in http://www.iana.org/assignments/protocol-numbers.
Definition Dns6.h:46
BOOLEAN EnableDnsCache
If TRUE, enable DNS cache function for this DNS instance.
Definition Dns6.h:40
UINT32 RetryInterval
Minimum interval of retry is 2 second.
Definition Dns6.h:85
EFI_IPv6_ADDRESS * DnsServerList
Pointer to DNS server list containing DnsServerListCount entries or NULL if DnsServerListCount is 0.
Definition Dns6.h:77
UINT16 LocalPort
Local port number.
Definition Dns6.h:56
EFI_IPv6_ADDRESS StationIp
The local IP address to use.
Definition Dns6.h:52
UINT32 DnsServerCount
Count of the DNS servers.
Definition Dns6.h:65
EFI_DNS6_MODE_DATA.
Definition Dns6.h:112
EFI_DNS6_CACHE_ENTRY * DnsCacheList
Pointer to a buffer containing DnsCacheCount DNS Cache entry structures.
Definition Dns6.h:137
UINT32 DnsServerCount
Number of configured DNS6 servers.
Definition Dns6.h:120
UINT32 DnsCacheCount
Number of DNS Cache entries.
Definition Dns6.h:131
EFI_DNS6_CONFIG_DATA DnsConfigData
The configuration data of this instance.
Definition Dns6.h:116
EFI_IPv6_ADDRESS * DnsServerList
Pointer to common list of addresses of all configured DNS server used by EFI_DNS6_PROTOCOL instances.
Definition Dns6.h:127
The EFI_DNS6_PROTOCOL provides the function to get the host name and address mapping,...
Definition Dns6.h:521
EFI_DNS6_IP_TO_HOST_NAME IpToHostName
Definition Dns6.h:525
EFI_DNS6_POLL Poll
Definition Dns6.h:528
EFI_DNS6_GET_MODE_DATA GetModeData
Definition Dns6.h:522
EFI_DNS6_HOST_NAME_TO_IP HostNameToIp
Definition Dns6.h:524
EFI_DNS6_UPDATE_DNS_CACHE UpdateDnsCache
Definition Dns6.h:527
EFI_DNS6_GENERAL_LOOKUP GeneralLookUp
Definition Dns6.h:526
EFI_DNS6_CONFIGURE Configure
Definition Dns6.h:523
EFI_DNS6_CANCEL Cancel
Definition Dns6.h:529