summaryrefslogtreecommitdiff
path: root/dnstap/dtstream.h
diff options
context:
space:
mode:
Diffstat (limited to 'dnstap/dtstream.h')
-rw-r--r--dnstap/dtstream.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/dnstap/dtstream.h b/dnstap/dtstream.h
index f87d6dc8d386..4c0a6285fe3c 100644
--- a/dnstap/dtstream.h
+++ b/dnstap/dtstream.h
@@ -131,6 +131,12 @@ struct dt_io_thread {
struct dt_io_list_item* io_list_iter;
/** thread id, of the io thread */
ub_thread_type tid;
+#ifdef HAVE_GETTID
+ /** thread tid, the LWP id */
+ pid_t thread_tid;
+ /** if logging should include the LWP id */
+ int thread_tid_log;
+#endif
/** if the io processing has started */
int started;
/** ssl context for the io thread, for tls connections. type SSL_CTX* */