Sergey Pastor / 1

Dependents:   Nucleo

Embed: (wiki syntax)

« Back to documentation index

DnsCacheEntry Struct Reference

DnsCacheEntry Struct Reference

DNS cache entry. More...

#include <dns_cache.h>

Data Fields

DnsState state
 Entry state.
HostType type
 IPv4 or IPv6 host?
HostnameResolver protocol
 Name resolution protocol.
NetInterface * interface
 Underlying network interface.
uint_t dnsServerNum
 This parameter selects between the primary and secondary DNS server.
uint16_t port
 Port number used by the resolver.
uint16_t id
 Identifier used to match queries and responses.
char_t name [DNS_MAX_NAME_LEN+1]
 Domain name.
IpAddr ipAddr
 IP address.
systime_t timestamp
 Time stamp to manage entry lifetime.
systime_t timeout
 Retransmission timeout.
systime_t maxTimeout
 Maximum retransmission timeout.
uint_t retransmitCount
 Retransmission counter.

Detailed Description

DNS cache entry.

Definition at line 89 of file dns_cache.h.


Field Documentation

uint_t dnsServerNum

This parameter selects between the primary and secondary DNS server.

Definition at line 95 of file dns_cache.h.

uint16_t id

Identifier used to match queries and responses.

Definition at line 97 of file dns_cache.h.

NetInterface* interface

Underlying network interface.

Definition at line 94 of file dns_cache.h.

IP address.

Definition at line 99 of file dns_cache.h.

systime_t maxTimeout

Maximum retransmission timeout.

Definition at line 102 of file dns_cache.h.

char_t name[DNS_MAX_NAME_LEN+1]

Domain name.

Definition at line 98 of file dns_cache.h.

uint16_t port

Port number used by the resolver.

Definition at line 96 of file dns_cache.h.

Name resolution protocol.

Definition at line 93 of file dns_cache.h.

Retransmission counter.

Definition at line 103 of file dns_cache.h.

Entry state.

Definition at line 91 of file dns_cache.h.

systime_t timeout

Retransmission timeout.

Definition at line 101 of file dns_cache.h.

systime_t timestamp

Time stamp to manage entry lifetime.

Definition at line 100 of file dns_cache.h.

IPv4 or IPv6 host?

Definition at line 92 of file dns_cache.h.