Asterisk - The Open Source Telephony Project GIT-master-f36a736
|
The result of a DNS query. More...
#include <dns_internal.h>
Data Structures | |
struct | dns_records |
Records returned. More... | |
Data Fields | |
const char * | answer |
The raw DNS answer. More... | |
size_t | answer_size |
The size of the raw DNS answer. More... | |
unsigned int | bogus |
Whether the result is bogus. More... | |
char | buf [0] |
Buffer for dynamic data. More... | |
const char * | canonical |
The canonical name. More... | |
unsigned int | rcode |
Optional rcode, set if an error occurred. More... | |
struct ast_dns_result::dns_records | records |
unsigned int | secure |
Whether the result is secure. More... | |
The result of a DNS query.
Definition at line 117 of file dns_internal.h.
const char* answer |
The raw DNS answer.
Definition at line 129 of file dns_internal.h.
Referenced by ast_dns_resolver_set_result(), dns_naptr_alloc(), and dns_srv_alloc().
size_t answer_size |
The size of the raw DNS answer.
Definition at line 131 of file dns_internal.h.
Referenced by ast_dns_resolver_set_result(), dns_naptr_alloc(), dns_srv_alloc(), and test_results().
unsigned int bogus |
Whether the result is bogus.
Definition at line 121 of file dns_internal.h.
Referenced by ast_dns_resolver_set_result().
char buf[0] |
Buffer for dynamic data.
Definition at line 133 of file dns_internal.h.
Referenced by ast_dns_resolver_set_result().
const char* canonical |
The canonical name.
Definition at line 127 of file dns_internal.h.
Referenced by ast_dns_resolver_set_result().
unsigned int rcode |
Optional rcode, set if an error occurred.
Definition at line 123 of file dns_internal.h.
Referenced by ast_dns_resolver_set_result().
struct ast_dns_result::dns_records records |
Referenced by ast_dns_resolver_add_record().
unsigned int secure |
Whether the result is secure.
Definition at line 119 of file dns_internal.h.
Referenced by ast_dns_resolver_set_result().