From 9285e10fef0a3327e11385b8f3fed7f5f7e27e30 Mon Sep 17 00:00:00 2001 From: "W.C.A. Wijngaards" Date: Mon, 20 Jan 2020 12:12:27 +0100 Subject: [PATCH] iolist item added. --- dnstap/dtstream.h | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/dnstap/dtstream.h b/dnstap/dtstream.h index 0edd219ea..41114c836 100644 --- a/dnstap/dtstream.h +++ b/dnstap/dtstream.h @@ -128,6 +128,17 @@ struct dt_io_thread { char* client_cert_file; }; +/** + * IO thread list of queues list item + * lists a worker queue that should be looked at and sent to the log server. + */ +struct dt_io_list_item { + /** next in the list of buffers to inspect */ + struct dt_io_list_item* next; + /** buffer of this worker */ + struct dt_msg_queue* queue; +}; + /* Frame Streams data transfer protocol encode for DNSTAP messages. * The protocol looks to be specified in the libfstrm library. * @@ -159,7 +170,7 @@ struct dt_io_thread { * Then, the control frame payload (of that length). with in it: * 4byte bigendian, control type (eg. START, STOP, READY, ACCEPT, FINISH). * perhaps nothing more (STOP, FINISH), but for other types maybe - * content type fields + * control fields * 4byte bigendian, the control-field-type, currently only content-type. * 4byte bigendian, length of the string for this option. * .. bytes of that string. -- 2.47.3