|
unbound
0.1
|
The queries outstanding for the libunbound resolver. More...
#include <context.h>
Data Fields | |
| struct rbnode_type | node |
| node in rbtree, must be first entry, key is ptr to the querynum | |
| int | querynum |
| query id number, key for node | |
| int | async |
| was this an async query? | |
| int | cancelled |
| was this query cancelled (for bg worker) | |
| ub_callback_type | cb |
| for async query, the callback function | |
| void * | cb_arg |
| for async query, the callback user arg | |
| uint8_t * | msg |
| answer message, result from resolver lookup. More... | |
| size_t | msg_len |
| resulting message length. More... | |
| enum sec_status | msg_security |
| validation status on security | |
| struct libworker * | w |
| store libworker that is handling this query | |
| struct ub_result * | res |
| result structure, also contains original query, type, class. More... | |
The queries outstanding for the libunbound resolver.
These are outstanding for async resolution. But also, outstanding for sync resolution by one of the threads that has joined the threadpool.
| uint8_t* ctx_query::msg |
answer message, result from resolver lookup.
Referenced by add_bg_result(), context_query_delete(), ub_cancel(), ub_resolve(), ub_resolve_async(), and ub_stop_bg().
| size_t ctx_query::msg_len |
resulting message length.
Referenced by add_bg_result(), process_answer_detail(), and ub_resolve().
| struct ub_result* ctx_query::res |
result structure, also contains original query, type, class.
malloced ptr ready to hand to the client.
Referenced by add_bg_result(), context_new(), context_query_delete(), context_serialize_answer(), context_serialize_new_query(), libworker_fillup_fg(), process_answer_detail(), setup_qinfo_edns(), and ub_resolve().
1.8.13