dns_xfrin_ctx Struct Reference

Incoming zone transfer context. More...


Data Fields

unsigned int magic
isc_mem_tmctx
dns_zone_tzone
int refcount
isc_task_ttask
isc_timer_ttimer
isc_socketmgr_tsocketmgr
int connects
 Connect in progress.
int sends
 Send in progress.
int recvs
 Receive in progress.
isc_boolean_t shuttingdown
isc_result_t shutdown_result
dns_name_t name
 Name of zone to transfer.
dns_rdataclass_t rdclass
isc_boolean_t checkid
dns_messageid_t id
dns_rdatatype_t reqtype
 Requested transfer type (dns_rdatatype_axfr or dns_rdatatype_ixfr). The actual transfer type may differ due to IXFR->AXFR fallback.
isc_dscp_t dscp
isc_sockaddr_t masteraddr
isc_sockaddr_t sourceaddr
isc_socket_tsocket
isc_buffer_t qbuffer
 Buffer for IXFR/AXFR request message.
unsigned char qbuffer_data [512]
dns_tcpmsg_t tcpmsg
 Incoming reply TCP message.
isc_boolean_t tcpmsg_valid
dns_db_tdb
dns_dbversion_tver
dns_diff_t diff
 Pending database changes.
int difflen
 Number of pending tuples.
xfrin_state_t state
isc_uint32_t end_serial
isc_boolean_t is_ixfr
unsigned int nmsg
 Number of messages recvd.
unsigned int nrecs
 Number of records recvd.
isc_uint64_t nbytes
 Number of bytes received.
isc_time_t start
 Start time of the transfer.
isc_time_t end
 End time of the transfer.
dns_tsigkey_ttsigkey
 Key used to create TSIG.
isc_buffer_tlasttsig
 The last TSIG.
dst_context_ttsigctx
 TSIG verification context.
unsigned int sincetsig
 recvd since the last TSIG
dns_xfrindone_t done
dns_rdatacallbacks_t axfr
 AXFR- and IXFR-specific data. Only one is used at a time according to the is_ixfr flag, so this could be a union, but keeping them separate makes it a bit simpler to clean things up when destroying the context.
struct {
   isc_uint32_t   request_serial
   isc_uint32_t   current_serial
   dns_journal_t *   journal
ixfr


Detailed Description

Incoming zone transfer context.

Definition at line 96 of file xfrin.c.


Field Documentation

unsigned int dns_xfrin_ctx::magic

Definition at line 97 of file xfrin.c.

Referenced by xfrin_create().

isc_mem_t* dns_xfrin_ctx::mctx

Definition at line 98 of file xfrin.c.

Referenced by axfr_makedb(), ixfr_init(), maybe_free(), xfrin_connect_done(), xfrin_create(), xfrin_recv_done(), and xfrin_send_request().

dns_zone_t* dns_xfrin_ctx::zone

Definition at line 99 of file xfrin.c.

Referenced by axfr_finalize(), axfr_makedb(), axfr_putdata(), ixfr_commit(), ixfr_init(), ixfr_putdata(), maybe_free(), xfr_rr(), xfrin_connect_done(), xfrin_create(), xfrin_fail(), xfrin_log(), and xfrin_recv_done().

int dns_xfrin_ctx::refcount

Definition at line 101 of file xfrin.c.

Referenced by dns_xfrin_attach(), dns_xfrin_create3(), dns_xfrin_detach(), maybe_free(), and xfrin_create().

isc_task_t* dns_xfrin_ctx::task

Definition at line 103 of file xfrin.c.

Referenced by maybe_free(), xfrin_cancelio(), xfrin_create(), xfrin_recv_done(), xfrin_send_done(), xfrin_send_request(), and xfrin_start().

isc_timer_t* dns_xfrin_ctx::timer

Definition at line 104 of file xfrin.c.

Referenced by maybe_free(), xfrin_create(), and xfrin_recv_done().

isc_socketmgr_t* dns_xfrin_ctx::socketmgr

Definition at line 105 of file xfrin.c.

Referenced by xfrin_create(), and xfrin_start().

int dns_xfrin_ctx::connects

Connect in progress.

Definition at line 107 of file xfrin.c.

Referenced by maybe_free(), xfrin_cancelio(), xfrin_connect_done(), xfrin_create(), and xfrin_start().

int dns_xfrin_ctx::sends

Send in progress.

Definition at line 108 of file xfrin.c.

Referenced by maybe_free(), xfrin_cancelio(), xfrin_create(), xfrin_send_done(), and xfrin_send_request().

int dns_xfrin_ctx::recvs

Receive in progress.

Definition at line 109 of file xfrin.c.

Referenced by maybe_free(), xfrin_cancelio(), xfrin_create(), xfrin_recv_done(), and xfrin_send_done().

isc_boolean_t dns_xfrin_ctx::shuttingdown

Definition at line 110 of file xfrin.c.

Referenced by dns_xfrin_shutdown(), maybe_free(), xfrin_connect_done(), xfrin_create(), xfrin_fail(), and xfrin_recv_done().

isc_result_t dns_xfrin_ctx::shutdown_result

Definition at line 111 of file xfrin.c.

Referenced by maybe_free(), xfrin_create(), xfrin_fail(), and xfrin_recv_done().

dns_name_t dns_xfrin_ctx::name

Name of zone to transfer.

Definition at line 113 of file xfrin.c.

Referenced by axfr_makedb(), maybe_free(), xfrin_create(), and xfrin_send_request().

dns_rdataclass_t dns_xfrin_ctx::rdclass

Definition at line 114 of file xfrin.c.

Referenced by axfr_makedb(), xfr_rr(), xfrin_create(), and xfrin_send_request().

isc_boolean_t dns_xfrin_ctx::checkid

Definition at line 116 of file xfrin.c.

Referenced by xfr_rr(), xfrin_create(), xfrin_recv_done(), and xfrin_send_request().

dns_messageid_t dns_xfrin_ctx::id

Definition at line 117 of file xfrin.c.

Referenced by xfrin_create(), xfrin_recv_done(), and xfrin_send_request().

dns_rdatatype_t dns_xfrin_ctx::reqtype

Requested transfer type (dns_rdatatype_axfr or dns_rdatatype_ixfr). The actual transfer type may differ due to IXFR->AXFR fallback.

Definition at line 124 of file xfrin.c.

Referenced by ixfr_init(), xfr_rr(), xfrin_create(), xfrin_recv_done(), and xfrin_send_request().

isc_dscp_t dns_xfrin_ctx::dscp

Definition at line 125 of file xfrin.c.

Referenced by xfrin_create(), and xfrin_start().

isc_sockaddr_t dns_xfrin_ctx::masteraddr

Definition at line 127 of file xfrin.c.

Referenced by xfrin_connect_done(), xfrin_create(), xfrin_log(), and xfrin_start().

isc_sockaddr_t dns_xfrin_ctx::sourceaddr

Definition at line 128 of file xfrin.c.

Referenced by xfrin_connect_done(), xfrin_create(), and xfrin_start().

isc_socket_t* dns_xfrin_ctx::socket

Definition at line 129 of file xfrin.c.

Referenced by maybe_free(), xfrin_cancelio(), xfrin_connect_done(), xfrin_create(), xfrin_reset(), xfrin_send_request(), and xfrin_start().

isc_buffer_t dns_xfrin_ctx::qbuffer

Buffer for IXFR/AXFR request message.

Definition at line 132 of file xfrin.c.

Referenced by xfrin_create(), and xfrin_send_request().

unsigned char dns_xfrin_ctx::qbuffer_data[512]

Definition at line 133 of file xfrin.c.

Referenced by xfrin_create(), and xfrin_send_request().

dns_tcpmsg_t dns_xfrin_ctx::tcpmsg

Incoming reply TCP message.

Definition at line 136 of file xfrin.c.

Referenced by maybe_free(), xfrin_cancelio(), xfrin_connect_done(), xfrin_recv_done(), xfrin_reset(), and xfrin_send_done().

isc_boolean_t dns_xfrin_ctx::tcpmsg_valid

Definition at line 137 of file xfrin.c.

Referenced by maybe_free(), xfrin_connect_done(), xfrin_create(), and xfrin_reset().

dns_db_t* dns_xfrin_ctx::db

Definition at line 139 of file xfrin.c.

Referenced by axfr_commit(), axfr_finalize(), ixfr_apply(), ixfr_commit(), ixfr_init(), maybe_free(), xfrin_create(), xfrin_reset(), and xfrin_send_request().

dns_dbversion_t* dns_xfrin_ctx::ver

Definition at line 140 of file xfrin.c.

Referenced by ixfr_apply(), ixfr_commit(), maybe_free(), xfrin_create(), and xfrin_reset().

dns_diff_t dns_xfrin_ctx::diff

Pending database changes.

Definition at line 141 of file xfrin.c.

Referenced by axfr_apply(), axfr_putdata(), ixfr_apply(), ixfr_putdata(), maybe_free(), xfrin_create(), and xfrin_reset().

int dns_xfrin_ctx::difflen

Number of pending tuples.

Definition at line 142 of file xfrin.c.

Referenced by axfr_apply(), axfr_putdata(), ixfr_apply(), ixfr_init(), ixfr_putdata(), xfrin_create(), and xfrin_reset().

xfrin_state_t dns_xfrin_ctx::state

Definition at line 144 of file xfrin.c.

Referenced by xfr_rr(), xfrin_create(), and xfrin_recv_done().

isc_uint32_t dns_xfrin_ctx::end_serial

Definition at line 145 of file xfrin.c.

Referenced by xfr_rr().

isc_boolean_t dns_xfrin_ctx::is_ixfr

Definition at line 146 of file xfrin.c.

Referenced by ixfr_init(), xfrin_create(), and xfrin_fail().

unsigned int dns_xfrin_ctx::nmsg

Number of messages recvd.

Definition at line 148 of file xfrin.c.

Referenced by maybe_free(), xfrin_create(), xfrin_recv_done(), and xfrin_send_request().

unsigned int dns_xfrin_ctx::nrecs

Number of records recvd.

Definition at line 149 of file xfrin.c.

Referenced by maybe_free(), xfr_rr(), xfrin_create(), and xfrin_send_request().

isc_uint64_t dns_xfrin_ctx::nbytes

Number of bytes received.

Definition at line 150 of file xfrin.c.

Referenced by maybe_free(), xfrin_create(), xfrin_recv_done(), and xfrin_send_request().

isc_time_t dns_xfrin_ctx::start

Start time of the transfer.

Definition at line 152 of file xfrin.c.

Referenced by maybe_free(), xfrin_create(), and xfrin_send_request().

isc_time_t dns_xfrin_ctx::end

End time of the transfer.

Definition at line 153 of file xfrin.c.

Referenced by maybe_free().

dns_tsigkey_t* dns_xfrin_ctx::tsigkey

Key used to create TSIG.

Definition at line 155 of file xfrin.c.

Referenced by maybe_free(), xfrin_create(), xfrin_recv_done(), and xfrin_send_request().

isc_buffer_t* dns_xfrin_ctx::lasttsig

The last TSIG.

Definition at line 156 of file xfrin.c.

Referenced by maybe_free(), xfrin_create(), xfrin_recv_done(), xfrin_reset(), and xfrin_send_request().

dst_context_t* dns_xfrin_ctx::tsigctx

TSIG verification context.

Definition at line 157 of file xfrin.c.

Referenced by maybe_free(), xfrin_create(), xfrin_recv_done(), and xfrin_send_request().

unsigned int dns_xfrin_ctx::sincetsig

recvd since the last TSIG

Definition at line 158 of file xfrin.c.

Referenced by xfrin_create(), and xfrin_recv_done().

dns_xfrindone_t dns_xfrin_ctx::done

Definition at line 159 of file xfrin.c.

Referenced by dns_xfrin_create3(), xfrin_create(), xfrin_fail(), and xfrin_recv_done().

dns_rdatacallbacks_t dns_xfrin_ctx::axfr

AXFR- and IXFR-specific data. Only one is used at a time according to the is_ixfr flag, so this could be a union, but keeping them separate makes it a bit simpler to clean things up when destroying the context.

Definition at line 167 of file xfrin.c.

Referenced by axfr_apply(), axfr_commit(), maybe_free(), xfrin_create(), and xfrin_reset().

isc_uint32_t dns_xfrin_ctx::request_serial

Definition at line 170 of file xfrin.c.

Referenced by xfr_rr(), and xfrin_send_request().

isc_uint32_t dns_xfrin_ctx::current_serial

Definition at line 171 of file xfrin.c.

Referenced by xfr_rr(), and xfrin_send_request().

dns_journal_t* dns_xfrin_ctx::journal

Definition at line 172 of file xfrin.c.

Referenced by ixfr_apply(), ixfr_commit(), ixfr_init(), maybe_free(), xfrin_create(), xfrin_fail(), xfrin_recv_done(), and xfrin_reset().

struct { ... } dns_xfrin_ctx::ixfr

Referenced by ixfr_apply(), ixfr_commit(), ixfr_init(), maybe_free(), xfr_rr(), xfrin_create(), xfrin_fail(), xfrin_recv_done(), xfrin_reset(), and xfrin_send_request().


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