dns_message Struct Reference

#include <message.h>


Public Member Functions

 ISC_LIST (dns_msgblock_t) rdatas
 ISC_LIST (dns_msgblock_t) rdatalists
 ISC_LIST (dns_msgblock_t) offsets
 ISC_LIST (dns_rdata_t) freerdata
 ISC_LIST (dns_rdatalist_t) freerdatalist

Data Fields

unsigned int magic
dns_messageid_t id
unsigned int flags
dns_rcode_t rcode
unsigned int opcode
dns_rdataclass_t rdclass
unsigned int counts [DNS_SECTION_MAX]
dns_namelist_t sections [DNS_SECTION_MAX]
dns_name_tcursors [DNS_SECTION_MAX]
dns_rdataset_topt
dns_rdataset_tsig0
dns_rdataset_ttsig
int state
unsigned int from_to_wire: 2
unsigned int header_ok: 1
unsigned int question_ok: 1
unsigned int tcp_continuation: 1
unsigned int verified_sig: 1
unsigned int verify_attempted: 1
unsigned int free_query: 1
unsigned int free_saved: 1
unsigned int sitok: 1
unsigned int sitbad: 1
unsigned int opt_reserved
unsigned int sig_reserved
unsigned int reserved
isc_buffer_tbuffer
dns_compress_tcctx
isc_mem_tmctx
isc_mempool_tnamepool
isc_mempool_trdspool
isc_bufferlist_t scratchpad
isc_bufferlist_t cleanup
dns_rcode_t tsigstatus
dns_rcode_t querytsigstatus
dns_name_ttsigname
dns_rdataset_tquerytsig
dns_tsigkey_ttsigkey
dst_context_ttsigctx
int sigstart
int timeadjust
dns_name_tsig0name
dst_key_tsig0key
dns_rcode_t sig0status
isc_region_t query
isc_region_t saved
dns_rdatasetorderfunc_t order
const void * order_arg


Detailed Description

Definition at line 193 of file message.h.


Member Function Documentation

dns_message::ISC_LIST ( dns_msgblock_t   ) 

dns_message::ISC_LIST ( dns_msgblock_t   ) 

dns_message::ISC_LIST ( dns_msgblock_t   ) 

dns_message::ISC_LIST ( dns_rdata_t   ) 

dns_message::ISC_LIST ( dns_rdatalist_t   ) 


Field Documentation

unsigned int dns_message::magic

Definition at line 195 of file message.h.

Referenced by dns_message_create(), and dns_message_destroy().

dns_messageid_t dns_message::id

Definition at line 197 of file message.h.

Referenced by dns_message_parse(), dns_message_renderheader(), dns_message_totext(), dns_request_createvia4(), dns_tsig_sign(), msginitheader(), ns_client_dumprecursing(), ns_client_error(), ns_client_sendraw(), ns_xfr_start(), printmessage(), query_prefetch(), query_recurse(), sendstream(), and xfrin_send_request().

unsigned int dns_message::flags

Definition at line 198 of file message.h.

Referenced by addoptout(), answer_response(), client_request(), client_send(), dns_message_parse(), dns_message_renderend(), dns_message_renderheader(), dns_message_rendersection(), dns_message_reply(), dns_message_totext(), getsection(), is_lame(), msginitheader(), noanswer_response(), notify_createmessage(), ns_client_error(), ns_query_start(), printmessage(), query_find(), query_send(), recv_done(), refresh_callback(), request_soa(), respond(), resquery_response(), sendstream(), start_update(), and stub_callback().

dns_rcode_t dns_message::rcode

Definition at line 199 of file message.h.

Referenced by addoptout(), answer_response(), client_request(), dns_message_parse(), dns_message_renderend(), dns_message_renderheader(), dns_message_totext(), dns_tkey_gssnegotiate(), dns_tkey_processdeleteresponse(), dns_tkey_processdhresponse(), dns_tkey_processgssresponse(), fix_mustbedelegationornxdomain(), forward_callback(), getsection(), is_lame(), msginitheader(), noanswer_response(), notify_done(), ns_client_error(), printmessage(), query_find(), query_send(), receive_soa(), recv_done(), recvsoa(), refresh_callback(), respond(), resquery_response(), rpz_add_cname(), sendstream(), stub_callback(), update_completed(), update_done(), and validator_start().

unsigned int dns_message::opcode

Definition at line 200 of file message.h.

Referenced by client_request(), create_query(), dns_client_startupdate(), dns_message_parse(), dns_message_renderheader(), dns_message_reply(), dns_message_sectiontotext(), dns_message_totext(), getsection(), msginitheader(), notify_createmessage(), printmessage(), reset_system(), and resquery_response().

dns_rdataclass_t dns_message::rdclass

Definition at line 201 of file message.h.

Referenced by client_request(), create_query(), dns_client_startrequest(), getquestions(), getsection(), msginitheader(), notify_createmessage(), query_add_cname(), query_find(), and sendstream().

unsigned int dns_message::counts[DNS_SECTION_MAX]

Definition at line 204 of file message.h.

Referenced by addoptout(), chase_cnamechain(), dns_message_parse(), dns_message_renderend(), dns_message_renderheader(), dns_message_renderreset(), dns_message_rendersection(), dns_message_totext(), dns_zone_notifyreceive(), fix_mustbedelegationornxdomain(), getquestions(), getsection(), is_lame(), msginitprivate(), noanswer_response(), ns_query_start(), printmessage(), recv_done(), resquery_response(), and same_question().

dns_namelist_t dns_message::sections[DNS_SECTION_MAX]

Definition at line 207 of file message.h.

Referenced by answer_in_glue(), dns_message_addname(), dns_message_create(), dns_message_findname(), dns_message_firstname(), dns_message_movename(), dns_message_removename(), dns_message_renderreset(), dns_message_rendersection(), dns_message_sectiontotext(), getquestions(), getsection(), msgresetnames(), printmessage(), query_find(), and query_send().

dns_name_t* dns_message::cursors[DNS_SECTION_MAX]

Definition at line 208 of file message.h.

Referenced by dns_message_currentname(), dns_message_firstname(), dns_message_nextname(), dns_message_renderreset(), and msginitprivate().

dns_rdataset_t* dns_message::opt

Definition at line 209 of file message.h.

Referenced by dns_message_getopt(), dns_message_renderend(), dns_message_setopt(), get_edns_expire(), getsection(), msginitprivate(), msgresetopt(), printmessage(), and recv_done().

dns_rdataset_t* dns_message::sig0

Definition at line 210 of file message.h.

Referenced by dns_dnssec_signmessage(), dns_dnssec_verifymessage(), dns_message_checksig(), dns_message_getsig0(), dns_message_renderend(), dns_message_renderreset(), dns_message_signer(), dns_zone_forwardupdate(), getsection(), msginitprivate(), and msgresetsigs().

dns_rdataset_t* dns_message::tsig

Definition at line 211 of file message.h.

Referenced by dns_message_checksig(), dns_message_getquerytsig(), dns_message_gettsig(), dns_message_renderend(), dns_message_renderreset(), dns_message_signer(), dns_tsig_sign(), dns_tsig_verify(), getsection(), msginitprivate(), msgresetsigs(), and tsig_verify_tcp().

int dns_message::state

Definition at line 213 of file message.h.

Referenced by dns_message_setopt(), dns_message_setsig0key(), dns_message_settsigkey(), getquestions(), getsection(), and msginitprivate().

unsigned int dns_message::from_to_wire

Definition at line 214 of file message.h.

Referenced by dns_message_addname(), dns_message_create(), dns_message_movename(), dns_message_parse(), dns_message_removename(), dns_message_renderbegin(), dns_message_renderreset(), dns_message_reply(), dns_message_reset(), dns_message_setopt(), dns_message_setsig0key(), dns_message_settsigkey(), and dns_message_signer().

unsigned int dns_message::header_ok

Definition at line 215 of file message.h.

Referenced by dns_message_parse(), dns_message_reply(), and msginit().

unsigned int dns_message::question_ok

Definition at line 216 of file message.h.

Referenced by dns_message_parse(), dns_message_reply(), msginit(), and resquery_response().

unsigned int dns_message::tcp_continuation

Definition at line 217 of file message.h.

Referenced by dns_tsig_sign(), dns_tsig_verify(), msginit(), recv_done(), sendstream(), and tsig_verify_tcp().

unsigned int dns_message::verified_sig

Definition at line 218 of file message.h.

Referenced by dns_dnssec_verifymessage(), dns_message_resetsig(), dns_message_signer(), dns_tsig_verify(), and msginit().

unsigned int dns_message::verify_attempted

Definition at line 219 of file message.h.

Referenced by dns_dnssec_verifymessage(), dns_message_resetsig(), dns_message_signer(), dns_tsig_verify(), msginit(), and update_completed().

unsigned int dns_message::free_query

Definition at line 220 of file message.h.

Referenced by dns_message_reply(), msginit(), and msgreset().

unsigned int dns_message::free_saved

Definition at line 221 of file message.h.

Referenced by dns_message_parse(), dns_message_reply(), msginit(), and msgreset().

unsigned int dns_message::sitok

Definition at line 222 of file message.h.

Referenced by dns_message_pseudosectiontotext(), msginit(), and msgresetopt().

unsigned int dns_message::sitbad

Definition at line 223 of file message.h.

Referenced by dns_message_pseudosectiontotext(), msginit(), msgresetopt(), and resquery_response().

unsigned int dns_message::opt_reserved

Definition at line 225 of file message.h.

Referenced by dns_message_renderend(), dns_message_setopt(), msginitprivate(), and msgresetopt().

unsigned int dns_message::sig_reserved

Definition at line 226 of file message.h.

Referenced by dns_message_renderend(), dns_message_reply(), dns_message_setsig0key(), dns_message_settsigkey(), msginitprivate(), and msgresetsigs().

unsigned int dns_message::reserved

Definition at line 227 of file message.h.

Referenced by dns_message_renderbegin(), dns_message_renderrelease(), dns_message_renderreserve(), dns_message_rendersection(), msginitprivate(), and sendstream().

isc_buffer_t* dns_message::buffer

Definition at line 229 of file message.h.

Referenced by dns_dnssec_signmessage(), dns_message_renderbegin(), dns_message_renderchangebuffer(), dns_message_renderend(), dns_message_renderreserve(), dns_message_renderreset(), dns_message_rendersection(), dns_tsig_sign(), and msginitprivate().

dns_compress_t* dns_message::cctx

Definition at line 230 of file message.h.

Referenced by dns_message_create(), dns_message_renderbegin(), dns_message_renderend(), and dns_message_rendersection().

isc_mem_t* dns_message::mctx

Definition at line 232 of file message.h.

Referenced by add_rdata_to_list(), buildquery(), dns_dnssec_signmessage(), dns_dnssec_verifymessage(), dns_message_buildopt(), dns_message_checksig(), dns_message_create(), dns_message_destroy(), dns_message_parse(), dns_message_puttempname(), dns_message_setquerytsig(), dns_message_signer(), dns_tkey_builddeletequery(), dns_tkey_builddhquery(), dns_tkey_gssnegotiate(), dns_tkey_processdhresponse(), dns_tkey_processgssresponse(), dns_tkey_processquery(), dns_tsig_sign(), dns_tsig_verify(), msgreset(), msgresetnames(), msgresetsigs(), newbuffer(), newoffsets(), newrdata(), newrdatalist(), process_dhtkey(), and tsig_verify_tcp().

isc_mempool_t* dns_message::namepool

Definition at line 233 of file message.h.

Referenced by dns_message_create(), dns_message_destroy(), dns_message_gettempname(), dns_message_puttempname(), getquestions(), getsection(), msgreset(), msgresetnames(), and msgresetsigs().

isc_mempool_t* dns_message::rdspool

Definition at line 234 of file message.h.

Referenced by dns_message_create(), dns_message_destroy(), dns_message_gettemprdataset(), dns_message_puttemprdataset(), getquestions(), getsection(), msgreset(), msgresetnames(), msgresetopt(), and msgresetsigs().

isc_bufferlist_t dns_message::scratchpad

Definition at line 236 of file message.h.

Referenced by currentbuffer(), dns_message_create(), msgreset(), and newbuffer().

isc_bufferlist_t dns_message::cleanup

Definition at line 237 of file message.h.

Referenced by dns_message_create(), dns_message_takebuffer(), and msgreset().

dns_rcode_t dns_message::tsigstatus

Definition at line 246 of file message.h.

Referenced by client_request(), dns_message_reply(), dns_message_resetsig(), dns_message_signer(), dns_tsig_verify(), msginittsig(), and tsig_verify_tcp().

dns_rcode_t dns_message::querytsigstatus

Definition at line 247 of file message.h.

Referenced by dns_message_reply(), dns_tsig_sign(), and msginittsig().

dns_name_t* dns_message::tsigname

Definition at line 248 of file message.h.

Referenced by dns_message_gettsig(), dns_message_renderend(), dns_message_renderreset(), dns_tsig_sign(), dns_tsig_verify(), getsection(), msginitprivate(), msgresetsigs(), send_update(), and tsig_verify_tcp().

dns_rdataset_t* dns_message::querytsig

Definition at line 249 of file message.h.

Referenced by dns_message_setquerytsig(), dns_tsig_sign(), dns_tsig_verify(), msginit(), msgresetsigs(), and tsig_verify_tcp().

dns_tsigkey_t* dns_message::tsigkey

Definition at line 250 of file message.h.

Referenced by client_request(), client_send(), dns_message_checksig(), dns_message_gettsigkey(), dns_message_renderend(), dns_message_reply(), dns_message_resetsig(), dns_message_setsig0key(), dns_message_settsigkey(), dns_message_signer(), dns_tsig_verify(), msginittsig(), msgreset(), tsig_verify_tcp(), and update_action().

dst_context_t* dns_message::tsigctx

Definition at line 251 of file message.h.

Referenced by msginittsig(), msgreset(), recv_done(), and tsig_verify_tcp().

int dns_message::sigstart

Definition at line 252 of file message.h.

Referenced by dns_dnssec_verifymessage(), dns_tsig_verify(), getsection(), msginittsig(), and tsig_verify_tcp().

int dns_message::timeadjust

Definition at line 253 of file message.h.

Referenced by dns_message_gettimeadjust(), dns_message_resetsig(), dns_message_settimeadjust(), dns_tsig_sign(), dns_tsig_verify(), msginittsig(), and tsig_verify_tcp().

dns_name_t* dns_message::sig0name

Definition at line 255 of file message.h.

Referenced by dns_message_getsig0(), getsection(), msginitprivate(), and msgresetsigs().

dst_key_t* dns_message::sig0key

Definition at line 256 of file message.h.

Referenced by client_send(), dns_message_getsig0key(), dns_message_renderend(), dns_message_setsig0key(), dns_message_settsigkey(), and msginittsig().

dns_rcode_t dns_message::sig0status

Definition at line 257 of file message.h.

Referenced by client_request(), dns_dnssec_verifymessage(), dns_message_resetsig(), dns_message_signer(), and msginittsig().

isc_region_t dns_message::query

Definition at line 258 of file message.h.

Referenced by dns_dnssec_signmessage(), dns_dnssec_verifymessage(), dns_message_reply(), msginit(), and msgreset().

isc_region_t dns_message::saved

Definition at line 259 of file message.h.

Referenced by dns_message_checksig(), dns_message_getrawmessage(), dns_message_parse(), dns_message_reply(), msginit(), and msgreset().

dns_rdatasetorderfunc_t dns_message::order

Definition at line 261 of file message.h.

Referenced by dns_message_rendersection(), dns_message_setsortorder(), and msginit().

const void* dns_message::order_arg

Definition at line 262 of file message.h.

Referenced by dns_message_rendersection(), dns_message_setsortorder(), and msginit().


The documentation for this struct was generated from the following file:
Generated on Tue Apr 28 17:41:20 2015 by Doxygen 1.5.4 for BIND9 Internals 9.11.0pre-alpha