unbound 0.1
infra_data Struct Reference

Host information encompasses host capabilities and retransmission timeouts. More...

#include <infra.h>

Data Fields

time_t ttl
 TTL value for this entry.
time_t probedelay
 time in seconds (absolute) when probing re-commences, 0 disabled
struct rtt_info rtt
 round trip times for timeout calculation
int edns_version
 edns version that the host supports, -1 means no EDNS
uint8_t edns_lame_known
 if the EDNS lameness is already known or not.
uint8_t isdnsseclame
 is the host lame (does not serve the zone authoritatively), or is the host dnssec lame (does not serve DNSSEC data)
uint8_t rec_lame
 is the host recursion lame (not AA, but RA)
uint8_t lame_type_A
 the host is lame (not authoritative) for A records
uint8_t lame_other
 the host is lame (not authoritative) for other query types
uint8_t timeout_A
 timeouts counter for type A
uint8_t timeout_AAAA
 timeouts counter for type AAAA
uint8_t timeout_other
 timeouts counter for others

Detailed Description

Host information encompasses host capabilities and retransmission timeouts.

And lameness information (notAuthoritative, noEDNS, Recursive)

Field Documentation

◆ ttl

time_t infra_data::ttl

TTL value for this entry.

absolute time.

Referenced by data_entry_init(), dump_infra_host(), infra_del_host(), infra_get_host_rto(), infra_get_lame_rtt(), and infra_test().

◆ probedelay

time_t infra_data::probedelay

time in seconds (absolute) when probing re-commences, 0 disabled

Referenced by data_entry_init(), dump_infra_host(), infra_del_host(), infra_get_host_rto(), infra_get_lame_rtt(), infra_host(), and infra_rtt_update().

◆ rtt

◆ edns_version

int infra_data::edns_version

edns version that the host supports, -1 means no EDNS

Referenced by data_entry_init(), dump_infra_host(), infra_edns_update(), infra_host(), and infra_test().

◆ edns_lame_known

uint8_t infra_data::edns_lame_known

if the EDNS lameness is already known or not.

EDNS lame is when EDNS queries or replies are dropped, and cause a timeout

Referenced by data_entry_init(), dump_infra_host(), infra_edns_update(), and infra_host().

◆ isdnsseclame

uint8_t infra_data::isdnsseclame

is the host lame (does not serve the zone authoritatively), or is the host dnssec lame (does not serve DNSSEC data)

Referenced by data_entry_init(), dump_infra_host(), infra_get_lame_rtt(), infra_set_lame(), and infra_test().

◆ rec_lame

uint8_t infra_data::rec_lame

is the host recursion lame (not AA, but RA)

Referenced by data_entry_init(), dump_infra_host(), infra_get_lame_rtt(), infra_set_lame(), and infra_test().

◆ lame_type_A

uint8_t infra_data::lame_type_A

the host is lame (not authoritative) for A records

Referenced by data_entry_init(), dump_infra_host(), infra_get_lame_rtt(), infra_set_lame(), and infra_test().

◆ lame_other

uint8_t infra_data::lame_other

the host is lame (not authoritative) for other query types

Referenced by data_entry_init(), dump_infra_host(), infra_get_lame_rtt(), infra_set_lame(), and infra_test().

◆ timeout_A

uint8_t infra_data::timeout_A

◆ timeout_AAAA

uint8_t infra_data::timeout_AAAA

◆ timeout_other

uint8_t infra_data::timeout_other

The documentation for this struct was generated from the following file: