jabberd2  2.5.0
Data Fields
dnsquery_st Struct Reference

dns query data More...

#include <s2s.h>

Data Fields

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

Detailed Description

dns query data

Definition at line 292 of file s2s.h.

Field Documentation

s2s_t dnsquery_st::s2s

Definition at line 293 of file s2s.h.

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

const char* dnsquery_st::name
int dnsquery_st::srv_i

srv lookup index

Definition at line 299 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 302 of file s2s.h.

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

const char* dnsquery_st::cur_host

current host lookup name

Definition at line 305 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 308 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 311 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 314 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 317 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 320 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 323 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 326 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: