From 53fda2bb933694c9bdb1bbf1f5583e39673b74b2 Mon Sep 17 00:00:00 2001 From: Dmitry Rozhkov Date: Fri, 2 Dec 2016 15:01:56 +0200 Subject: resolved: implement mDNS probing and announcement Signed-off-by: Dmitry Rozhkov --- src/resolve/resolved-dns-scope.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/resolve/resolved-dns-scope.h') diff --git a/src/resolve/resolved-dns-scope.h b/src/resolve/resolved-dns-scope.h index d501835e45..65b61c56aa 100644 --- a/src/resolve/resolved-dns-scope.h +++ b/src/resolve/resolved-dns-scope.h @@ -56,6 +56,9 @@ struct DnsScope { OrderedHashmap *conflict_queue; sd_event_source *conflict_event_source; + bool announced:1; + sd_event_source *announce_event_source; + RateLimit ratelimit; usec_t resend_timeout; @@ -113,3 +116,5 @@ bool dns_scope_name_needs_search_domain(DnsScope *s, const char *name); bool dns_scope_network_good(DnsScope *s); int dns_scope_ifindex(DnsScope *s); + +void dns_scope_announce(DnsScope *scope); -- cgit v1.2.3-54-g00ecf