chiark / gitweb /
tree-wide: Always use recvmsg with MSG_CMSG_CLOEXEC
[elogind.git] / src / resolve / resolved-dns-stream.h
index db456580cbba74c67909c170ac1e030d770736e0..46eae31c60b86eddd8c311f42072750a88f385d7 100644 (file)
@@ -25,7 +25,9 @@
 
 typedef struct DnsStream DnsStream;
 
-#include "resolved.h"
+#include "resolved-dns-packet.h"
+#include "resolved-dns-transaction.h"
+#include "resolved-manager.h"
 
 struct DnsStream {
         Manager *manager;
@@ -39,6 +41,7 @@ struct DnsStream {
         socklen_t local_salen;
         int ifindex;
         uint32_t ttl;
+        bool identified;
 
         sd_event_source *io_event_source;
         sd_event_source *timeout_event_source;
@@ -50,7 +53,7 @@ struct DnsStream {
         int (*on_packet)(DnsStream *s);
         int (*complete)(DnsStream *s, int error);
 
-        DnsQueryTransaction *transaction;
+        DnsTransaction *transaction;
 
         LIST_FIELDS(DnsStream, streams);
 };