diff options
author | Iwan Timmer <irtimmer@gmail.com> | 2018-04-27 13:20:31 +0200 |
---|---|---|
committer | Iwan Timmer <irtimmer@gmail.com> | 2018-06-11 21:35:58 +0200 |
commit | 91ccab1e40a10963764f449ba8309d47e90d6a8a (patch) | |
tree | 2fbebf8b1850525c1ed2d81b46887e916ffbb157 /src/resolve/resolved-dns-scope.h | |
parent | resolved: longlived TCP connections (diff) | |
download | systemd-91ccab1e40a10963764f449ba8309d47e90d6a8a.tar.xz systemd-91ccab1e40a10963764f449ba8309d47e90d6a8a.zip |
resolved: TCP fast open connections
Add suport for TCP fast open connection to reduce latency for successive DNS request over TCP
Diffstat (limited to 'src/resolve/resolved-dns-scope.h')
-rw-r--r-- | src/resolve/resolved-dns-scope.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/resolve/resolved-dns-scope.h b/src/resolve/resolved-dns-scope.h index 15c58251d0..0042193e20 100644 --- a/src/resolve/resolved-dns-scope.h +++ b/src/resolve/resolved-dns-scope.h @@ -75,7 +75,7 @@ void dns_scope_packet_received(DnsScope *s, usec_t rtt); void dns_scope_packet_lost(DnsScope *s, usec_t usec); int dns_scope_emit_udp(DnsScope *s, int fd, DnsPacket *p); -int dns_scope_socket_tcp(DnsScope *s, int family, const union in_addr_union *address, DnsServer *server, uint16_t port); +int dns_scope_socket_tcp(DnsScope *s, int family, const union in_addr_union *address, DnsServer *server, uint16_t port, union sockaddr_union *ret_socket_address); int dns_scope_socket_udp(DnsScope *s, DnsServer *server, uint16_t port); DnsScopeMatch dns_scope_good_domain(DnsScope *s, int ifindex, uint64_t flags, const char *domain); |