TCPIP_DNS_ENTRY_QUERY Structure

C

typedef struct {
char* hostName;
int nameLen;
IPV4_ADDR * ipv4Entry;
int nIPv4Entries;
IPV6_ADDR * ipv6Entry;
int nIPv6Entries;
TCPIP_DNS_RESULT status;
uint32_t ttlTime;
TCPIP_NET_HANDLE hNet;
int serverIx;
int nIPv4ValidEntries;
int nIPv6ValidEntries;
} TCPIP_DNS_ENTRY_QUERY;

Description

Structure: TCPIP_DNS_ENTRY_QUERY.

DNS module uses this structure to return information about a resolved IPv4 and IPv6 address.

Members

MembersDescription
hostNamePointer to a name to receive the host name for that particular entry.
nameLenhostName buffer size.
ipv4EntryArray of IPv4 entries/addresses to be populated.
nIPv4EntriesNumber of entries in the ipv4Entry array.
ipv6EntryArray of IPv6 entries/addresses to be populated.
nIPv6EntriesNumber of entries in the ipv6Entry array.
statuscurrent status for this name: - TCPIP_DNS_RES_OK: name is resolved - TCPIP_DNS_RES_PENDING: name is pending - TCPIP_DNS_RES_SERVER_TMO: server timeout
ttlTimeTime to live for a solved DNS entry.
hNetInterface the name was obtained or on which the query is currently ongoing.
serverIxIndex of the server used on that interface.
nIPv4ValidEntriesNumber of valid entries written to the ipv4Entry.
nIPv6ValidEntriesNumber of valid entries written to the ipv6Entry.

Remarks

None.