jabberd2  2.2.17
Data Fields
dnsquery_st Struct Reference

dns query data More...

#include <s2s.h>

Data Fields

s2s_t s2s
char * name
 domain name
int srv_i
 srv lookup index
xht hosts
 srv lookup results (key host/port)
char * cur_host
 current host lookup name
int cur_port
 current host lookup port
time_t cur_expiry
 current host max expiry
int cur_prio
 current host priority
int cur_weight
 current host weight
xht results
 host lookup results (key ip/port)
time_t expiry
 time that all entries expire
struct dns_query * query
 set when we're waiting for a resolve response

Detailed Description

dns query data

Definition at line 277 of file s2s.h.


Field Documentation

s2s_t dnsquery_st::s2s

Definition at line 278 of file s2s.h.

Referenced by _dns_result_a(), _dns_result_srv(), and dns_resolve_domain().

char* dnsquery_st::name
int dnsquery_st::srv_i

srv lookup index

Definition at line 284 of file s2s.h.

Referenced by _dns_result_srv(), and dns_resolve_domain().

xht dnsquery_st::hosts

srv lookup results (key host/port)

Definition at line 287 of file s2s.h.

Referenced by _dns_add_host(), _dns_result_a(), _dns_result_srv(), _s2s_dns_expiry(), dns_resolve_domain(), and JABBER_MAIN().

char* dnsquery_st::cur_host

current host lookup name

Definition at line 290 of file s2s.h.

Referenced by _dns_result_a(), _dns_result_aaaa(), _dns_result_srv(), and dns_resolve_domain().

int dnsquery_st::cur_port

current host lookup port

Definition at line 293 of file s2s.h.

Referenced by _dns_result_a(), _dns_result_aaaa(), _dns_result_srv(), and dns_resolve_domain().

time_t dnsquery_st::cur_expiry

current host max expiry

Definition at line 296 of file s2s.h.

Referenced by _dns_result_a(), _dns_result_aaaa(), _dns_result_srv(), and dns_resolve_domain().

int dnsquery_st::cur_prio

current host priority

Definition at line 299 of file s2s.h.

Referenced by _dns_result_a(), _dns_result_aaaa(), and _dns_result_srv().

int dnsquery_st::cur_weight

current host weight

Definition at line 302 of file s2s.h.

Referenced by _dns_result_a(), _dns_result_aaaa(), and _dns_result_srv().

xht dnsquery_st::results

host lookup results (key ip/port)

Definition at line 305 of file s2s.h.

Referenced by _dns_add_result(), _dns_result_a(), _s2s_dns_expiry(), dns_resolve_domain(), and JABBER_MAIN().

time_t dnsquery_st::expiry

time that all entries expire

Definition at line 308 of file s2s.h.

Referenced by _dns_add_result(), _dns_result_a(), and dns_resolve_domain().

struct dns_query* dnsquery_st::query

set when we're waiting for a resolve response

Definition at line 311 of file s2s.h.

Referenced by _dns_result_a(), _dns_result_aaaa(), _dns_result_srv(), _s2s_dns_expiry(), dns_resolve_domain(), and JABBER_MAIN().


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