]> git.ipfire.org Git - thirdparty/unbound.git/commitdiff
iolist item added.
authorW.C.A. Wijngaards <wouter@nlnetlabs.nl>
Mon, 20 Jan 2020 11:12:27 +0000 (12:12 +0100)
committerW.C.A. Wijngaards <wouter@nlnetlabs.nl>
Mon, 20 Jan 2020 11:12:27 +0000 (12:12 +0100)
dnstap/dtstream.h

index 0edd219ea7a96068222db78e228424f55a64faf9..41114c836dbc599680fc0ed4a07a8d24096e4e9e 100644 (file)
@@ -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.