35 #ifndef UNBOUND_DNSTAP_H 36 #define UNBOUND_DNSTAP_H 38 #include "dnstap/dnstap_config.h" 49 struct fstrm_iothr *iothr;
52 struct fstrm_iothr_queue *ioq;
61 unsigned len_identity;
67 unsigned log_resolver_query_messages : 1;
69 unsigned log_resolver_response_messages : 1;
71 unsigned log_client_query_messages : 1;
73 unsigned log_client_response_messages : 1;
75 unsigned log_forwarder_query_messages : 1;
77 unsigned log_forwarder_response_messages : 1;
92 dt_create(
const char *socket_path,
unsigned num_workers);
100 dt_apply_cfg(
struct dt_env *env,
struct config_file *cfg);
108 dt_init(
struct dt_env *env);
115 dt_delete(
struct dt_env *env);
125 dt_msg_send_client_query(
struct dt_env *env,
127 enum comm_point_type cptype,
138 dt_msg_send_client_response(
struct dt_env *env,
140 enum comm_point_type cptype,
155 dt_msg_send_outside_query(
struct dt_env *env,
157 enum comm_point_type cptype,
177 dt_msg_send_outside_response(
struct dt_env *env,
179 enum comm_point_type cptype,
181 uint8_t *qbuf,
size_t qbuf_len,
182 const struct timeval *qtime,
183 const struct timeval *rtime,
version
Supported socks variants.