DNS cache entry. More...
#include <dns_cache.h>
Data Fields | |
DnsState | state |
Entry state. More... | |
HostType | type |
IPv4 or IPv6 host? More... | |
HostnameResolver | protocol |
Name resolution protocol. More... | |
NetInterface * | interface |
Underlying network interface. More... | |
uint_t | dnsServerIndex |
This parameter selects between the primary and secondary DNS server. More... | |
uint16_t | port |
Port number used by the resolver. More... | |
uint16_t | id |
Identifier used to match queries and responses. More... | |
char_t | name [DNS_MAX_NAME_LEN+1] |
Domain name. More... | |
IpAddr | ipAddr |
IP address. More... | |
systime_t | timestamp |
Time stamp to manage entry lifetime. More... | |
systime_t | timeout |
Retransmission timeout. More... | |
systime_t | maxTimeout |
Maximum retransmission timeout. More... | |
uint_t | retransmitCount |
Retransmission counter. More... | |
Detailed Description
DNS cache entry.
Definition at line 96 of file dns_cache.h.
Field Documentation
◆ dnsServerIndex
uint_t dnsServerIndex |
This parameter selects between the primary and secondary DNS server.
Definition at line 102 of file dns_cache.h.
◆ id
uint16_t id |
Identifier used to match queries and responses.
Definition at line 104 of file dns_cache.h.
◆ interface
NetInterface* interface |
Underlying network interface.
Definition at line 101 of file dns_cache.h.
◆ ipAddr
IpAddr ipAddr |
IP address.
Definition at line 106 of file dns_cache.h.
◆ maxTimeout
systime_t maxTimeout |
Maximum retransmission timeout.
Definition at line 109 of file dns_cache.h.
◆ name
char_t name[DNS_MAX_NAME_LEN+1] |
Domain name.
Definition at line 105 of file dns_cache.h.
◆ port
uint16_t port |
Port number used by the resolver.
Definition at line 103 of file dns_cache.h.
◆ protocol
HostnameResolver protocol |
Name resolution protocol.
Definition at line 100 of file dns_cache.h.
◆ retransmitCount
uint_t retransmitCount |
Retransmission counter.
Definition at line 110 of file dns_cache.h.
◆ state
DnsState state |
Entry state.
Definition at line 98 of file dns_cache.h.
◆ timeout
systime_t timeout |
Retransmission timeout.
Definition at line 108 of file dns_cache.h.
◆ timestamp
systime_t timestamp |
Time stamp to manage entry lifetime.
Definition at line 107 of file dns_cache.h.
◆ type
HostType type |
IPv4 or IPv6 host?
Definition at line 99 of file dns_cache.h.
The documentation for this struct was generated from the following file:
- cyclone_tcp/dns/dns_cache.h