15#ifndef __EFI_DNS6_PROTOCOL_H__
16#define __EFI_DNS6_PROTOCOL_H__
21#define EFI_DNS6_SERVICE_BINDING_PROTOCOL_GUID \
23 0x7f1647c8, 0xb76e, 0x44b2, {0xa5, 0x65, 0xf7, 0xf, 0xf1, 0x9c, 0xd1, 0x9e } \
26#define EFI_DNS6_PROTOCOL_GUID \
28 0xca37bc1f, 0xa327, 0x4ae9, {0x82, 0x8a, 0x8c, 0x40, 0xd8, 0x50, 0x6a, 0x17 } \
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.
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.
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.
EFI_STATUS(EFIAPI * EFI_DNS6_POLL)(IN EFI_DNS6_PROTOCOL *This)
Polls for incoming data packets and processes outgoing data packets.
EFI_STATUS(EFIAPI * EFI_DNS6_CONFIGURE)(IN EFI_DNS6_PROTOCOL *This, IN EFI_DNS6_CONFIG_DATA *DnsConfigData)
Configure this DNS instance.
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.
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.
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...
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.
EFI_GUID gEfiDns6ServiceBindingProtocolGuid
struct _EFI_DNS6_PROTOCOL EFI_DNS6_PROTOCOL
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.
#define FILE_SECBOOT(_status)
Declare a file's UEFI Secure Boot permission status.
CHAR16 * HostName
Pointer to the primary name for this host address.
DNS6_GENERAL_LOOKUP_DATA.
UINTN RRCount
Number of returned matching RRs.
DNS6_RESOURCE_RECORD * RRList
Pointer to the all the returned matching RRs.
EFI_IPv6_ADDRESS * IpList
Pointer to the all the returned IP address.
UINT32 IpCount
Number of the returned IP address.
UINT16 QClass
The CLASS code of this RR.
UINT32 TTL
32 bit integer which specify the time interval that the resource record may be cached before the sour...
CHAR8 * RData
A string of octets that describe the resource, the format of this information varies according to QTy...
CHAR8 * QName
The Owner name.
UINT16 QType
The Type Code of this RR.
UINT16 DataLength
16 big integer which specify the length of RData.
EFI_IPv6_ADDRESS * IpAddress
IP address of this host.
CHAR16 * HostName
Host name.
UINT32 Timeout
Time in second unit that this entry will remain in DNS cache.
EFI_DNS6_COMPLETION_TOKEN.
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...
DNS6_GENERAL_LOOKUP_DATA * GLookupData
When the Token is used for a general lookup function, GLookupDATA is a pointer to the DNS6_GENERAL_LO...
EFI_EVENT Event
This Event will be signaled after the Status field is updated by the EFI DNSv6 protocol driver.
EFI_STATUS Status
Will be set to one of the following values: EFI_SUCCESS: The host name to address translation complet...
UINT32 RetryCount
The parameter configured through DNSv6.Configure() interface.
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...
UINT32 RetryInterval
The parameter configured through DNSv6.Configure() interface.
UINT32 RetryCount
Retry number if no response received after RetryInterval.
UINT8 Protocol
Use the protocol number defined in http://www.iana.org/assignments/protocol-numbers.
BOOLEAN EnableDnsCache
If TRUE, enable DNS cache function for this DNS instance.
UINT32 RetryInterval
Minimum interval of retry is 2 second.
EFI_IPv6_ADDRESS * DnsServerList
Pointer to DNS server list containing DnsServerListCount entries or NULL if DnsServerListCount is 0.
UINT16 LocalPort
Local port number.
EFI_IPv6_ADDRESS StationIp
The local IP address to use.
UINT32 DnsServerCount
Count of the DNS servers.
EFI_DNS6_CACHE_ENTRY * DnsCacheList
Pointer to a buffer containing DnsCacheCount DNS Cache entry structures.
UINT32 DnsServerCount
Number of configured DNS6 servers.
UINT32 DnsCacheCount
Number of DNS Cache entries.
EFI_DNS6_CONFIG_DATA DnsConfigData
The configuration data of this instance.
EFI_IPv6_ADDRESS * DnsServerList
Pointer to common list of addresses of all configured DNS server used by EFI_DNS6_PROTOCOL instances.
The EFI_DNS6_PROTOCOL provides the function to get the host name and address mapping,...
EFI_DNS6_IP_TO_HOST_NAME IpToHostName
EFI_DNS6_GET_MODE_DATA GetModeData
EFI_DNS6_HOST_NAME_TO_IP HostNameToIp
EFI_DNS6_UPDATE_DNS_CACHE UpdateDnsCache
EFI_DNS6_GENERAL_LOOKUP GeneralLookUp
EFI_DNS6_CONFIGURE Configure