|
Asterisk - The Open Source Telephony Project GIT-master-27fb039
|
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. | |
| size_t | answer_size |
| The size of the raw DNS answer. | |
| unsigned int | bogus |
| Whether the result is bogus. | |
| char | buf [0] |
| Buffer for dynamic data. | |
| const char * | canonical |
| The canonical name. | |
| unsigned int | rcode |
| Optional rcode, set if an error occurred. | |
| struct ast_dns_result::dns_records | records |
| unsigned int | secure |
| Whether the result is secure. | |
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(), and ast_dns_result_get_secure().