Lines Matching refs:llmnr_hostname

355 static int determine_hostnames(char **full_hostname, char **llmnr_hostname, char **mdns_hostname) {  in determine_hostnames()  argument
360 assert(llmnr_hostname); in determine_hostnames()
371 *llmnr_hostname = TAKE_PTR(n); in determine_hostnames()
393 static int make_fallback_hostnames(char **full_hostname, char **llmnr_hostname, char **mdns_hostnam… in make_fallback_hostnames() argument
400 assert(llmnr_hostname); in make_fallback_hostnames()
421 *llmnr_hostname = TAKE_PTR(n); in make_fallback_hostnames()
429 _cleanup_free_ char *full_hostname = NULL, *llmnr_hostname = NULL, *mdns_hostname = NULL; in on_hostname_change() local
436 r = determine_hostnames(&full_hostname, &llmnr_hostname, &mdns_hostname); in on_hostname_change()
442 llmnr_hostname_changed = !streq(llmnr_hostname, m->llmnr_hostname); in on_hostname_change()
451 free_and_replace(m->llmnr_hostname, llmnr_hostname); in on_hostname_change()
483 r = determine_hostnames(&m->full_hostname, &m->llmnr_hostname, &m->mdns_hostname); in manager_watch_hostname()
493 … r = make_fallback_hostnames(&m->full_hostname, &m->llmnr_hostname, &m->mdns_hostname); in manager_watch_hostname()
735 free(m->llmnr_hostname); in manager_free()
1205 r = manager_next_random_name(m->llmnr_hostname, &h); in manager_next_hostname()
1213 …og_info("Hostname conflict, changing published hostname from '%s' to '%s'.", m->llmnr_hostname, h); in manager_next_hostname()
1215 free_and_replace(m->llmnr_hostname, h); in manager_next_hostname()
1318 if (m->llmnr_hostname) { in manager_is_own_hostname()
1319 r = dns_name_equal(name, m->llmnr_hostname); in manager_is_own_hostname()