TianoCore EDK2 master
Loading...
Searching...
No Matches
Dns4.h
Go to the documentation of this file.
1
15#ifndef __EFI_DNS4_PROTOCOL_H__
16#define __EFI_DNS4_PROTOCOL_H__
17
18#define EFI_DNS4_SERVICE_BINDING_PROTOCOL_GUID \
19 { \
20 0xb625b186, 0xe063, 0x44f7, {0x89, 0x5, 0x6a, 0x74, 0xdc, 0x6f, 0x52, 0xb4 } \
21 }
22
23#define EFI_DNS4_PROTOCOL_GUID \
24 { \
25 0xae3d28cc, 0xe05b, 0x4fa1, {0xa0, 0x11, 0x7e, 0xb5, 0x5a, 0x3f, 0x14, 0x1 } \
26 }
27
29
33typedef struct {
71 UINT8 Protocol;
83 UINT16 LocalPort;
87 UINT32 RetryCount;
94
98typedef struct {
102 CHAR16 *HostName;
114 UINT32 Timeout;
116
120typedef struct {
149
153typedef struct {
157 UINT32 IpCount;
163
167typedef struct {
172 CHAR16 *HostName;
174
178typedef struct {
182 CHAR8 *QName;
186 UINT16 QType;
190 UINT16 QClass;
196 UINT32 TTL;
205 CHAR8 *RData;
207
211typedef struct {
222
226typedef struct {
255 union {
271 } RspData;
273
289typedef
291(EFIAPI *EFI_DNS4_GET_MODE_DATA)(
292 IN EFI_DNS4_PROTOCOL *This,
293 OUT EFI_DNS4_MODE_DATA *DnsModeData
294 );
295
321typedef
323(EFIAPI *EFI_DNS4_CONFIGURE)(
324 IN EFI_DNS4_PROTOCOL *This,
325 IN EFI_DNS4_CONFIG_DATA *DnsConfigData
326 );
327
348typedef
351 IN EFI_DNS4_PROTOCOL *This,
352 IN CHAR16 *HostName,
354 );
355
378typedef
381 IN EFI_DNS4_PROTOCOL *This,
382 IN EFI_IPv4_ADDRESS IpAddress,
384 );
385
413typedef
416 IN EFI_DNS4_PROTOCOL *This,
417 IN CHAR8 *QName,
418 IN UINT16 QType,
419 IN UINT16 QClass,
421 );
422
449typedef
452 IN EFI_DNS4_PROTOCOL *This,
453 IN BOOLEAN DeleteFlag,
454 IN BOOLEAN Override,
455 IN EFI_DNS4_CACHE_ENTRY DnsCacheEntry
456 );
457
479typedef
481(EFIAPI *EFI_DNS4_POLL)(
483 );
484
510typedef
512(EFIAPI *EFI_DNS4_CANCEL)(
513 IN EFI_DNS4_PROTOCOL *This,
515 );
516
523 EFI_DNS4_GET_MODE_DATA GetModeData;
524 EFI_DNS4_CONFIGURE Configure;
525 EFI_DNS4_HOST_NAME_TO_IP HostNameToIp;
526 EFI_DNS4_IP_TO_HOST_NAME IpToHostName;
527 EFI_DNS4_GENERAL_LOOKUP GeneralLookUp;
528 EFI_DNS4_UPDATE_DNS_CACHE UpdateDnsCache;
529 EFI_DNS4_POLL Poll;
530 EFI_DNS4_CANCEL Cancel;
531};
532
533extern EFI_GUID gEfiDns4ServiceBindingProtocolGuid;
534extern EFI_GUID gEfiDns4ProtocolGuid;
535
536#endif
UINT64 UINTN
EFI_STATUS(EFIAPI * EFI_DNS4_UPDATE_DNS_CACHE)(IN EFI_DNS4_PROTOCOL *This, IN BOOLEAN DeleteFlag, IN BOOLEAN Override, IN EFI_DNS4_CACHE_ENTRY DnsCacheEntry)
Definition: Dns4.h:451
EFI_STATUS(EFIAPI * EFI_DNS4_POLL)(IN EFI_DNS4_PROTOCOL *This)
Definition: Dns4.h:481
EFI_STATUS(EFIAPI * EFI_DNS4_CONFIGURE)(IN EFI_DNS4_PROTOCOL *This, IN EFI_DNS4_CONFIG_DATA *DnsConfigData)
Definition: Dns4.h:323
EFI_STATUS(EFIAPI * EFI_DNS4_GENERAL_LOOKUP)(IN EFI_DNS4_PROTOCOL *This, IN CHAR8 *QName, IN UINT16 QType, IN UINT16 QClass, IN EFI_DNS4_COMPLETION_TOKEN *Token)
Definition: Dns4.h:415
EFI_STATUS(EFIAPI * EFI_DNS4_CANCEL)(IN EFI_DNS4_PROTOCOL *This, IN EFI_DNS4_COMPLETION_TOKEN *Token)
Definition: Dns4.h:512
EFI_STATUS(EFIAPI * EFI_DNS4_HOST_NAME_TO_IP)(IN EFI_DNS4_PROTOCOL *This, IN CHAR16 *HostName, IN EFI_DNS4_COMPLETION_TOKEN *Token)
Definition: Dns4.h:350
EFI_STATUS(EFIAPI * EFI_DNS4_GET_MODE_DATA)(IN EFI_DNS4_PROTOCOL *This, OUT EFI_DNS4_MODE_DATA *DnsModeData)
Definition: Dns4.h:291
EFI_STATUS(EFIAPI * EFI_DNS4_IP_TO_HOST_NAME)(IN EFI_DNS4_PROTOCOL *This, IN EFI_IPv4_ADDRESS IpAddress, IN EFI_DNS4_COMPLETION_TOKEN *Token)
Definition: Dns4.h:380
#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: Dns4.h:172
DNS_RESOURCE_RECORD * RRList
Definition: Dns4.h:220
EFI_IPv4_ADDRESS * IpList
Definition: Dns4.h:161
UINT16 QClass
Definition: Dns4.h:190
UINT16 QType
Definition: Dns4.h:186
CHAR8 * QName
Definition: Dns4.h:182
CHAR8 * RData
Definition: Dns4.h:205
UINT16 DataLength
Definition: Dns4.h:200
UINT32 Timeout
Definition: Dns4.h:114
CHAR16 * HostName
Definition: Dns4.h:102
EFI_IPv4_ADDRESS * IpAddress
Definition: Dns4.h:106
DNS_HOST_TO_ADDR_DATA * H2AData
Definition: Dns4.h:260
DNS_ADDR_TO_HOST_DATA * A2HData
Definition: Dns4.h:265
EFI_STATUS Status
Definition: Dns4.h:241
DNS_GENERAL_LOOKUP_DATA * GLookupData
Definition: Dns4.h:270
BOOLEAN EnableDnsCache
Definition: Dns4.h:63
UINT16 LocalPort
Definition: Dns4.h:83
UINT8 Protocol
Definition: Dns4.h:71
EFI_IPv4_ADDRESS * DnsServerList
Definition: Dns4.h:54
BOOLEAN UseDefaultSetting
Definition: Dns4.h:58
EFI_IPv4_ADDRESS SubnetMask
Definition: Dns4.h:79
UINTN DnsServerListCount
Definition: Dns4.h:42
EFI_IPv4_ADDRESS StationIp
Definition: Dns4.h:75
UINT32 RetryInterval
Definition: Dns4.h:92
UINT32 RetryCount
Definition: Dns4.h:87
EFI_IPv4_ADDRESS * DnsServerList
Definition: Dns4.h:137
EFI_DNS4_CACHE_ENTRY * DnsCacheList
Definition: Dns4.h:147
UINT32 DnsCacheCount
Definition: Dns4.h:141
UINT32 DnsServerCount
Definition: Dns4.h:129
EFI_DNS4_CONFIG_DATA DnsConfigData
Definition: Dns4.h:124
Definition: Base.h:213