unbound 0.1
Data Fields
ctx_query Struct Reference

The queries outstanding for the libunbound resolver. More...

#include <context.h>

Data Fields

struct rbnode_t 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_t 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.
size_t msg_len
 resulting message length.
enum sec_status msg_security
 validation status on security
struct libworkerw
 store libworker that is handling this query
struct ub_resultres
 result structure, also contains original query, type, class.

Detailed Description

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.


Field Documentation

uint8_t* ctx_query::msg

The documentation for this struct was generated from the following file: