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_query > | xact_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 |
IDNSCB * | callback |
void * | callback_data = nullptr |
CodeContext::Pointer | codeContext |
requestor's context More... | |
int | attempt = 0 |
int | rcode = 0 |
idns_query * | queue = nullptr |
idns_query * | slave = nullptr |
idns_query * | master = nullptr |
unsigned short | domain = 0 |
unsigned short | do_searchpath = 0 |
rfc1035_message * | message = 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()
|
inline |
◆ ~idns_query()
|
inline |
Definition at line 121 of file dns_internal.cc.
References callback_data, cbdataReferenceDone, message, queue, rfc1035MessageDestroy(), and slave.
Member Function Documentation
◆ operator delete()
|
inline |
Definition at line 105 of file dns_internal.cc.
◆ operator new()
|
inline |
Definition at line 105 of file dns_internal.cc.
◆ toCbdata()
|
inlinenoexcept |
Definition at line 105 of file dns_internal.cc.
Member Data Documentation
◆ ancount
int idns_query::ancount = 0 |
Definition at line 161 of file dns_internal.cc.
Referenced by idnsCallbackOneWithAnswer(), idnsGrokReply(), and operator<<().
◆ attempt
int idns_query::attempt = 0 |
Definition at line 153 of file dns_internal.cc.
Referenced by idnsGrokReply().
◆ buf
char idns_query::buf[RESOLV_BUFSZ] |
Definition at line 132 of file dns_internal.cc.
Referenced by idns_query(), idnsALookup(), idnsGrokReply(), idnsPTRLookup(), idnsSendQuery(), idnsSendQueryVC(), and idnsSendSlaveAAAAQuery().
◆ callback
IDNSCB* idns_query::callback |
Definition at line 149 of file dns_internal.cc.
Referenced by idns_query(), idnsCachedLookup(), and idnsStartQuery().
◆ callback_data
void* idns_query::callback_data = nullptr |
Definition at line 150 of file dns_internal.cc.
Referenced by ~idns_query(), idnsCachedLookup(), and idnsStartQuery().
◆ CBDATA_idns_query
|
staticprivate |
Definition at line 105 of file dns_internal.cc.
◆ codeContext
CodeContext::Pointer idns_query::codeContext |
Definition at line 151 of file dns_internal.cc.
◆ do_searchpath
unsigned short idns_query::do_searchpath = 0 |
Definition at line 159 of file dns_internal.cc.
Referenced by idnsALookup(), and idnsGrokReply().
◆ domain
unsigned short idns_query::domain = 0 |
Definition at line 158 of file dns_internal.cc.
Referenced by idnsALookup(), and idnsGrokReply().
◆ error
const char* idns_query::error = nullptr |
Definition at line 162 of file dns_internal.cc.
Referenced by idnsCallback(), idnsCallbackOneWithAnswer(), and operator<<().
◆ hash
hash_link idns_query::hash |
Definition at line 130 of file dns_internal.cc.
Referenced by idnsStartQuery().
◆ lru
dlink_node idns_query::lru |
Definition at line 147 of file dns_internal.cc.
Referenced by idnsCheckQueue(), idnsGrokReply(), and idnsSendQuery().
◆ master
idns_query* idns_query::master = nullptr |
Definition at line 157 of file dns_internal.cc.
Referenced by idnsCallback(), idnsCallbackAllCallersWithNewAnswer(), idnsGrokReply(), idnsSendSlaveAAAAQuery(), and idnsStillPending().
◆ message
rfc1035_message* idns_query::message = nullptr |
Definition at line 160 of file dns_internal.cc.
Referenced by ~idns_query(), idnsCallbackOneWithAnswer(), and idnsGrokReply().
◆ name
char idns_query::name[NS_MAXDNAME+1] |
Definition at line 133 of file dns_internal.cc.
Referenced by idns_query(), idnsALookup(), idnsCheckMDNS(), idnsGrokReply(), idnsSendSlaveAAAAQuery(), and idnsStats().
◆ need_vc
int idns_query::need_vc = 0 |
Definition at line 140 of file dns_internal.cc.
Referenced by idnsGrokReply(), and idnsSendQuery().
◆ nsends
int idns_query::nsends = 0 |
Definition at line 139 of file dns_internal.cc.
Referenced by idnsCheckQueue(), idnsGrokReply(), idnsSendQuery(), and idnsStats().
◆ orig
char idns_query::orig[NS_MAXDNAME+1] |
Definition at line 134 of file dns_internal.cc.
Referenced by idns_query(), idnsALookup(), idnsGrokReply(), idnsSendSlaveAAAAQuery(), and idnsStartQuery().
◆ pending
int idns_query::pending = 0 |
Definition at line 142 of file dns_internal.cc.
Referenced by idnsCheckQueue(), idnsGrokReply(), and idnsSendQuery().
◆ permit_mdns
bool idns_query::permit_mdns = false |
Definition at line 141 of file dns_internal.cc.
Referenced by idnsCheckMDNS(), idnsPTRLookup(), idnsSendQuery(), and idnsStats().
◆ query
rfc1035_query idns_query::query |
Definition at line 131 of file dns_internal.cc.
Referenced by idns_query(), idnsALookup(), idnsGrokReply(), idnsPTRLookup(), and idnsSendSlaveAAAAQuery().
◆ query_id
unsigned short idns_query::query_id = 0 |
Definition at line 136 of file dns_internal.cc.
Referenced by idnsALookup(), idnsCheckQueue(), idnsFindQuery(), idnsGrokReply(), idnsPTRLookup(), idnsSendSlaveAAAAQuery(), and idnsStats().
◆ queue
idns_query* idns_query::queue = nullptr |
Definition at line 155 of file dns_internal.cc.
Referenced by ~idns_query(), and idnsCachedLookup().
◆ queue_t
struct timeval idns_query::queue_t |
Definition at line 146 of file dns_internal.cc.
Referenced by idns_query(), idnsCheckQueue(), and idnsSendQuery().
◆ rcode
int idns_query::rcode = 0 |
Definition at line 154 of file dns_internal.cc.
Referenced by idnsCheckQueue(), and idnsGrokReply().
◆ sent_t
struct timeval idns_query::sent_t |
Definition at line 145 of file dns_internal.cc.
Referenced by idns_query(), idnsCheckQueue(), idnsSendQuery(), and idnsStats().
◆ slave
idns_query* idns_query::slave = nullptr |
Definition at line 156 of file dns_internal.cc.
Referenced by ~idns_query(), idnsCallbackNewCallerWithOldAnswers(), idnsGrokReply(), idnsSendSlaveAAAAQuery(), and idnsStillPending().
◆ start_t
struct timeval idns_query::start_t |
Definition at line 144 of file dns_internal.cc.
Referenced by idns_query(), idnsCheckQueue(), idnsSendSlaveAAAAQuery(), idnsStartQuery(), and idnsStats().
◆ sz
ssize_t idns_query::sz = 0 |
Definition at line 135 of file dns_internal.cc.
Referenced by idnsALookup(), idnsGrokReply(), idnsPTRLookup(), idnsSendQuery(), idnsSendQueryVC(), idnsSendSlaveAAAAQuery(), and idnsStats().
◆ xact_id
InstanceId<idns_query> idns_query::xact_id |
Definition at line 137 of file dns_internal.cc.
Referenced by idnsCheckQueue().
The documentation for this class was generated from the following file:
- src/dns_internal.cc