Asterisk - The Open Source Telephony Project
18.5.0
|
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(), ast_dns_result_get_answer(), 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(), and dns_srv_alloc().
unsigned int bogus |
Whether the result is bogus.
Definition at line 121 of file dns_internal.h.
Referenced by ast_dns_resolver_set_result(), and ast_dns_result_get_bogus().
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(), and ast_dns_result_get_canonical().
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(), and ast_dns_result_get_rcode().
struct ast_dns_result::dns_records records |
Referenced by ast_dns_resolver_add_record(), ast_dns_result_free(), ast_dns_result_get_records(), dns_naptr_sort(), and dns_srv_sort().
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().