Lines Matching refs:mdns_hostname
324 static int determine_hostname(char **llmnr_hostname, char **mdns_hostname) {
331 assert(mdns_hostname);
369 r = dns_name_concat(n, "local", mdns_hostname);
380 _cleanup_free_ char *llmnr_hostname = NULL, *mdns_hostname = NULL;
386 r = determine_hostname(&llmnr_hostname, &mdns_hostname);
390 if (streq(llmnr_hostname, m->llmnr_hostname) && streq(mdns_hostname, m->mdns_hostname))
396 free(m->mdns_hostname);
399 m->mdns_hostname = mdns_hostname;
401 llmnr_hostname = mdns_hostname = NULL;
430 r = determine_hostname(&m->llmnr_hostname, &m->mdns_hostname);
437 m->mdns_hostname = strdup("linux.local");
438 if (!m->mdns_hostname)
598 free(m->mdns_hostname);
1007 free(m->mdns_hostname);
1008 m->mdns_hostname = k;
1094 if (m->mdns_hostname)
1095 return dns_name_equal(name, m->mdns_hostname);