chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
tree-wide: Always use recvmsg with MSG_CMSG_CLOEXEC
[elogind.git]
/
src
/
resolve
/
resolved-dns-transaction.h
diff --git
a/src/resolve/resolved-dns-transaction.h
b/src/resolve/resolved-dns-transaction.h
index d825b3ec8591daf177f4d4012708280d099a3601..182fb7714c5cb60a3e449b583bad61f5228dc554 100644
(file)
--- a/
src/resolve/resolved-dns-transaction.h
+++ b/
src/resolve/resolved-dns-transaction.h
@@
-54,6
+54,8
@@
struct DnsTransaction {
DnsTransactionState state;
uint16_t id;
DnsTransactionState state;
uint16_t id;
+ bool initial_jitter;
+
DnsPacket *sent, *received;
DnsAnswer *cached;
int cached_rcode;
DnsPacket *sent, *received;
DnsAnswer *cached;
int cached_rcode;
@@
-96,7
+98,7
@@
DnsTransactionState dns_transaction_state_from_string(const char *s) _pure_;
#define LLMNR_TRANSACTION_TIMEOUT_USEC (1 * USEC_PER_SEC)
/* LLMNR Jitter interval, see RFC 4795 Section 7 */
#define LLMNR_TRANSACTION_TIMEOUT_USEC (1 * USEC_PER_SEC)
/* LLMNR Jitter interval, see RFC 4795 Section 7 */
-#define LLMNR_
TRANSACTION_
JITTER_INTERVAL_USEC (100 * USEC_PER_MSEC)
+#define LLMNR_JITTER_INTERVAL_USEC (100 * USEC_PER_MSEC)
/* Maximum attempts to send DNS requests, across all DNS servers */
#define DNS_TRANSACTION_ATTEMPTS_MAX 8
/* Maximum attempts to send DNS requests, across all DNS servers */
#define DNS_TRANSACTION_ATTEMPTS_MAX 8