TianoCore EDK2 master
Loading...
Searching...
No Matches
Dns6.h
Go to the documentation of this file.
1
15#ifndef __EFI_DNS6_PROTOCOL_H__
16#define __EFI_DNS6_PROTOCOL_H__
17
18#define EFI_DNS6_SERVICE_BINDING_PROTOCOL_GUID \
19 { \
20 0x7f1647c8, 0xb76e, 0x44b2, {0xa5, 0x65, 0xf7, 0xf, 0xf1, 0x9c, 0xd1, 0x9e } \
21 }
22
23#define EFI_DNS6_PROTOCOL_GUID \
24 { \
25 0xca37bc1f, 0xa327, 0x4ae9, {0x82, 0x8a, 0x8c, 0x40, 0xd8, 0x50, 0x6a, 0x17 } \
26 }
27
29
33typedef struct {
44 UINT8 Protocol;
54 UINT16 LocalPort;
79 UINT32 RetryCount;
85
89typedef struct {
93 CHAR16 *HostName;
104 UINT32 Timeout;
106
110typedef struct {
137
141typedef struct {
145 UINT32 IpCount;
151
155typedef struct {
160 CHAR16 *HostName;
162
166typedef struct {
170 CHAR8 *QName;
174 UINT16 QType;
178 UINT16 QClass;
184 UINT32 TTL;
193 CHAR8 *RData;
195
199typedef struct {
210
214typedef struct {
244 union {
260 } RspData;
262
279typedef
281(EFIAPI *EFI_DNS6_GET_MODE_DATA)(
282 IN EFI_DNS6_PROTOCOL *This,
283 OUT EFI_DNS6_MODE_DATA *DnsModeData
284 );
285
309typedef
311(EFIAPI *EFI_DNS6_CONFIGURE)(
312 IN EFI_DNS6_PROTOCOL *This,
313 IN EFI_DNS6_CONFIG_DATA *DnsConfigData
314 );
315
338typedef
341 IN EFI_DNS6_PROTOCOL *This,
342 IN CHAR16 *HostName,
344 );
345
369typedef
372 IN EFI_DNS6_PROTOCOL *This,
373 IN EFI_IPv6_ADDRESS IpAddress,
375 );
376
406typedef
409 IN EFI_DNS6_PROTOCOL *This,
410 IN CHAR8 *QName,
411 IN UINT16 QType,
412 IN UINT16 QClass,
414 );
415
443typedef
446 IN EFI_DNS6_PROTOCOL *This,
447 IN BOOLEAN DeleteFlag,
448 IN BOOLEAN Override,
449 IN EFI_DNS6_CACHE_ENTRY DnsCacheEntry
450 );
451
475typedef
477(EFIAPI *EFI_DNS6_POLL)(
479 );
480
507typedef
509(EFIAPI *EFI_DNS6_CANCEL)(
510 IN EFI_DNS6_PROTOCOL *This,
512 );
513
520 EFI_DNS6_GET_MODE_DATA GetModeData;
521 EFI_DNS6_CONFIGURE Configure;
522 EFI_DNS6_HOST_NAME_TO_IP HostNameToIp;
523 EFI_DNS6_IP_TO_HOST_NAME IpToHostName;
524 EFI_DNS6_GENERAL_LOOKUP GeneralLookUp;
525 EFI_DNS6_UPDATE_DNS_CACHE UpdateDnsCache;
526 EFI_DNS6_POLL Poll;
527 EFI_DNS6_CANCEL Cancel;
528};
529
530extern EFI_GUID gEfiDns6ServiceBindingProtocolGuid;
531extern EFI_GUID gEfiDns6ProtocolGuid;
532
533#endif
UINT64 UINTN
EFI_STATUS(EFIAPI * EFI_DNS6_HOST_NAME_TO_IP)(IN EFI_DNS6_PROTOCOL *This, IN CHAR16 *HostName, IN EFI_DNS6_COMPLETION_TOKEN *Token)
Definition: Dns6.h:340
EFI_STATUS(EFIAPI * EFI_DNS6_GET_MODE_DATA)(IN EFI_DNS6_PROTOCOL *This, OUT EFI_DNS6_MODE_DATA *DnsModeData)
Definition: Dns6.h:281
EFI_STATUS(EFIAPI * EFI_DNS6_POLL)(IN EFI_DNS6_PROTOCOL *This)
Definition: Dns6.h:477
EFI_STATUS(EFIAPI * EFI_DNS6_CONFIGURE)(IN EFI_DNS6_PROTOCOL *This, IN EFI_DNS6_CONFIG_DATA *DnsConfigData)
Definition: Dns6.h:311
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)
Definition: Dns6.h:408
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)
Definition: Dns6.h:371
EFI_STATUS(EFIAPI * EFI_DNS6_CANCEL)(IN EFI_DNS6_PROTOCOL *This, IN EFI_DNS6_COMPLETION_TOKEN *Token)
Definition: Dns6.h:509
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)
Definition: Dns6.h:445
#define IN
Definition: Base.h:279
#define OUT
Definition: Base.h:284
RETURN_STATUS EFI_STATUS
Definition: UefiBaseType.h:29
VOID * EFI_EVENT
Definition: UefiBaseType.h:37
CHAR16 * HostName
Definition: Dns6.h:160
DNS6_RESOURCE_RECORD * RRList
Definition: Dns6.h:208
EFI_IPv6_ADDRESS * IpList
Definition: Dns6.h:149
CHAR8 * RData
Definition: Dns6.h:193
CHAR8 * QName
Definition: Dns6.h:170
UINT16 DataLength
Definition: Dns6.h:188
EFI_IPv6_ADDRESS * IpAddress
Definition: Dns6.h:97
CHAR16 * HostName
Definition: Dns6.h:93
UINT32 Timeout
Definition: Dns6.h:104
DNS6_HOST_TO_ADDR_DATA * H2AData
Definition: Dns6.h:249
DNS6_GENERAL_LOOKUP_DATA * GLookupData
Definition: Dns6.h:259
EFI_STATUS Status
Definition: Dns6.h:229
DNS6_ADDR_TO_HOST_DATA * A2HData
Definition: Dns6.h:254
UINT32 RetryCount
Definition: Dns6.h:79
UINT8 Protocol
Definition: Dns6.h:44
BOOLEAN EnableDnsCache
Definition: Dns6.h:38
UINT32 RetryInterval
Definition: Dns6.h:83
EFI_IPv6_ADDRESS * DnsServerList
Definition: Dns6.h:75
UINT16 LocalPort
Definition: Dns6.h:54
EFI_IPv6_ADDRESS StationIp
Definition: Dns6.h:50
UINT32 DnsServerCount
Definition: Dns6.h:63
EFI_DNS6_CACHE_ENTRY * DnsCacheList
Definition: Dns6.h:135
UINT32 DnsServerCount
Definition: Dns6.h:118
UINT32 DnsCacheCount
Definition: Dns6.h:129
EFI_DNS6_CONFIG_DATA DnsConfigData
Definition: Dns6.h:114
EFI_IPv6_ADDRESS * DnsServerList
Definition: Dns6.h:125
Definition: Base.h:213