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
 
CodeContext::Pointer codeContext
 requestor's context More...
 
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::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::~idns_query ( )
inline

Member Function Documentation

◆ operator delete()

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

Definition at line 105 of file dns_internal.cc.

◆ operator new()

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

Definition at line 105 of file dns_internal.cc.

◆ toCbdata()

void * idns_query::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

◆ 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

cbdata_type idns_query::CBDATA_idns_query = CBDATA_UNKNOWN
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

◆ 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]

◆ 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]

◆ 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

◆ query_id

unsigned short idns_query::query_id = 0

◆ 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

◆ start_t

struct timeval idns_query::start_t

◆ sz

ssize_t idns_query::sz = 0

◆ 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:

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors