dns_clientreqevent Struct Reference

A dns_clientreqevent_t is sent when a DNS request is completed by a client. 'result' stores the result code of the entire transaction. If the transaction is successfully completed but the response packet cannot be parsed, 'result' will store the result code of dns_message_parse(). If the response packet is received, 'rmessage' will contain the response message, whether it is successfully parsed or not. More...

#include <client.h>


Public Member Functions

 ISC_EVENT_COMMON (struct dns_clientreqevent)

Data Fields

isc_result_t result
dns_message_trmessage


Detailed Description

A dns_clientreqevent_t is sent when a DNS request is completed by a client. 'result' stores the result code of the entire transaction. If the transaction is successfully completed but the response packet cannot be parsed, 'result' will store the result code of dns_message_parse(). If the response packet is received, 'rmessage' will contain the response message, whether it is successfully parsed or not.

Definition at line 140 of file client.h.


Member Function Documentation

dns_clientreqevent::ISC_EVENT_COMMON ( struct  dns_clientreqevent  ) 


Field Documentation

isc_result_t dns_clientreqevent::result

Definition at line 142 of file client.h.

Referenced by localrequest_done(), and request_done().

dns_message_t* dns_clientreqevent::rmessage

Definition at line 143 of file client.h.

Referenced by dns_client_startrequest(), and request_done().


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