diff options
author | Lennart Poettering <lennart@poettering.net> | 2014-07-29 14:24:02 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2014-07-29 20:57:58 +0200 |
commit | 623a4c97b9175f95c4b1c6fc34e36c56f1e4ddbf (patch) | |
tree | 2590cdcc3e9a36ea63d75407c178253ff2669261 /src/resolve/resolved-dns-query.h | |
parent | 359017c1aec9596e9d3c4c19bd62d34a6f3366b8 (diff) |
resolve: add llmnr responder side for UDP and TCP
Name defending is still missing.
Diffstat (limited to 'src/resolve/resolved-dns-query.h')
-rw-r--r-- | src/resolve/resolved-dns-query.h | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/resolve/resolved-dns-query.h b/src/resolve/resolved-dns-query.h index 0b76564892..37f50b67c4 100644 --- a/src/resolve/resolved-dns-query.h +++ b/src/resolve/resolved-dns-query.h @@ -36,6 +36,7 @@ typedef struct DnsQueryTransaction DnsQueryTransaction; #include "resolved-dns-packet.h" #include "resolved-dns-question.h" #include "resolved-dns-answer.h" +#include "resolved-dns-stream.h" typedef enum DnsQueryState { DNS_QUERY_NULL, @@ -65,11 +66,8 @@ struct DnsQueryTransaction { sd_event_source *timeout_event_source; unsigned n_attempts; - /* TCP connection logic */ - int tcp_fd; - sd_event_source *tcp_event_source; - size_t tcp_written, tcp_read; - be16_t tcp_read_size; + /* TCP connection logic, if we need it */ + DnsStream *stream; /* Queries this transaction is referenced by and that shall by * notified about this specific transaction completing. */ |