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;
socklen_t local_salen;
int ifindex;
uint32_t ttl;
+ bool identified;
sd_event_source *io_event_source;
sd_event_source *timeout_event_source;
int (*on_packet)(DnsStream *s);
int (*complete)(DnsStream *s, int error);
- DnsQueryTransaction *transaction;
+ DnsTransaction *transaction;
LIST_FIELDS(DnsStream, streams);
};