Collaboration diagram for idns_query:

Public Member Functions

void * operator new (size_t size)
 
void operator delete (void *address)
 
void * toCbdata () noexcept
 
 idns_query ()
 
 ~idns_query ()
 

Public Attributes

hash_link hash
 
rfc1035_query query
 
char buf [RESOLV_BUFSZ]
 
char name [NS_MAXDNAME+1]
 
char orig [NS_MAXDNAME+1]
 
ssize_t sz = 0
 
unsigned short query_id = 0
 random query ID sent to server; changes with every query sent More...
 
InstanceId< idns_queryxact_id
 identifies our "transaction", stays constant when query is retried More...
 
int nsends = 0
 
int need_vc = 0
 
bool permit_mdns = false
 
int pending = 0
 
struct timeval start_t
 
struct timeval sent_t
 
struct timeval queue_t
 
dlink_node lru
 
IDNSCBcallback
 
void * callback_data = nullptr
 
int attempt = 0
 
int rcode = 0
 
idns_queryqueue = nullptr
 
idns_queryslave = nullptr
 
idns_querymaster = nullptr
 
unsigned short domain = 0
 
unsigned short do_searchpath = 0
 
rfc1035_messagemessage = nullptr
 
int ancount = 0
 
const char * error = nullptr
 

Static Private Attributes

static cbdata_type CBDATA_idns_query = CBDATA_UNKNOWN
 

Detailed Description

Definition at line 103 of file dns_internal.cc.

Constructor & Destructor Documentation

idns_query::idns_query ( )
inline

Definition at line 108 of file dns_internal.cc.

References buf, callback, name, orig, query, queue_t, sent_t, and start_t.

idns_query::~idns_query ( )
inline

Member Function Documentation

void idns_query::operator delete ( void *  address)
inline

Definition at line 105 of file dns_internal.cc.

void* idns_query::operator new ( size_t  size)
inline

Definition at line 105 of file dns_internal.cc.

void* idns_query::toCbdata ( )
inlinenoexcept

Definition at line 105 of file dns_internal.cc.

Member Data Documentation

int idns_query::ancount = 0

Definition at line 156 of file dns_internal.cc.

Referenced by idnsCallbackOneWithAnswer(), idnsGrokReply(), and operator<<().

int idns_query::attempt = 0

Definition at line 148 of file dns_internal.cc.

Referenced by idnsGrokReply().

IDNSCB* idns_query::callback

Definition at line 146 of file dns_internal.cc.

Referenced by idns_query(), idnsCachedLookup(), and idnsStartQuery().

void* idns_query::callback_data = nullptr

Definition at line 147 of file dns_internal.cc.

Referenced by idnsCachedLookup(), idnsStartQuery(), and ~idns_query().

cbdata_type idns_query::CBDATA_idns_query = CBDATA_UNKNOWN
staticprivate

Definition at line 105 of file dns_internal.cc.

unsigned short idns_query::do_searchpath = 0

Definition at line 154 of file dns_internal.cc.

Referenced by idnsALookup(), and idnsGrokReply().

unsigned short idns_query::domain = 0

Definition at line 153 of file dns_internal.cc.

Referenced by idnsALookup(), and idnsGrokReply().

const char* idns_query::error = nullptr

Definition at line 157 of file dns_internal.cc.

Referenced by idnsCallback(), idnsCallbackOneWithAnswer(), and operator<<().

hash_link idns_query::hash

Definition at line 128 of file dns_internal.cc.

Referenced by idnsStartQuery().

dlink_node idns_query::lru

Definition at line 145 of file dns_internal.cc.

Referenced by idnsCheckQueue(), idnsGrokReply(), and idnsSendQuery().

rfc1035_message* idns_query::message = nullptr

Definition at line 155 of file dns_internal.cc.

Referenced by idnsCallbackOneWithAnswer(), idnsGrokReply(), and ~idns_query().

char idns_query::name[NS_MAXDNAME+1]
int idns_query::need_vc = 0

Definition at line 138 of file dns_internal.cc.

Referenced by idnsGrokReply(), and idnsSendQuery().

int idns_query::nsends = 0

Definition at line 137 of file dns_internal.cc.

Referenced by idnsCheckQueue(), idnsGrokReply(), idnsSendQuery(), and idnsStats().

char idns_query::orig[NS_MAXDNAME+1]
int idns_query::pending = 0

Definition at line 140 of file dns_internal.cc.

Referenced by idnsCheckQueue(), idnsGrokReply(), and idnsSendQuery().

bool idns_query::permit_mdns = false

Definition at line 139 of file dns_internal.cc.

Referenced by idnsCheckMDNS(), idnsPTRLookup(), idnsSendQuery(), and idnsStats().

rfc1035_query idns_query::query
unsigned short idns_query::query_id = 0
idns_query* idns_query::queue = nullptr

Definition at line 150 of file dns_internal.cc.

Referenced by idnsCachedLookup(), and ~idns_query().

struct timeval idns_query::queue_t

Definition at line 144 of file dns_internal.cc.

Referenced by idns_query(), idnsCheckQueue(), and idnsSendQuery().

int idns_query::rcode = 0

Definition at line 149 of file dns_internal.cc.

Referenced by idnsCheckQueue(), and idnsGrokReply().

struct timeval idns_query::sent_t

Definition at line 143 of file dns_internal.cc.

Referenced by idns_query(), idnsCheckQueue(), idnsSendQuery(), and idnsStats().

struct timeval idns_query::start_t
ssize_t idns_query::sz = 0
InstanceId<idns_query> idns_query::xact_id

Definition at line 135 of file dns_internal.cc.

Referenced by idnsCheckQueue().


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

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors