Home
last modified time | relevance | path

Searched refs:mdns_hostname (Results 1 – 5 of 5) sorted by relevance

/systemd-251/src/resolve/
Dresolved-manager.c355 static int determine_hostnames(char **full_hostname, char **llmnr_hostname, char **mdns_hostname) { in determine_hostnames() argument
361 assert(mdns_hostname); in determine_hostnames()
367 r = dns_name_concat(n, "local", 0, mdns_hostname); in determine_hostnames()
393 …ic int make_fallback_hostnames(char **full_hostname, char **llmnr_hostname, char **mdns_hostname) { in make_fallback_hostnames() argument
401 assert(mdns_hostname); in make_fallback_hostnames()
422 *mdns_hostname = TAKE_PTR(m); 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()
445 streq(mdns_hostname, m->mdns_hostname)) in on_hostname_change()
452 free_and_replace(m->mdns_hostname, mdns_hostname); in on_hostname_change()
[all …]
Dresolved-dns-synthesize.c278 …r = answer_add_ptr(answer, "2.0.0.127.in-addr.arpa", m->mdns_hostname, dns_synthesize_ifindex(ifin… in synthesize_system_hostname_ptr()
305 r = answer_add_addresses_ptr(answer, m->mdns_hostname, addresses, n, af, address); in synthesize_system_hostname_ptr()
Dresolved-manager.h114 char *mdns_hostname; member
Dresolved-link.c946 …ns_host_ipv4_key = dns_resource_key_new(DNS_CLASS_IN, DNS_TYPE_A, a->link->manager->mdns_hostname); in link_address_add_rrs()
965 …ource_record_new_reverse(&a->mdns_ptr_rr, a->family, &a->in_addr, a->link->manager->mdns_hostname); in link_address_add_rrs()
1057 …host_ipv6_key = dns_resource_key_new(DNS_CLASS_IN, DNS_TYPE_AAAA, a->link->manager->mdns_hostname); in link_address_add_rrs()
1076 …ource_record_new_reverse(&a->mdns_ptr_rr, a->family, &a->in_addr, a->link->manager->mdns_hostname); in link_address_add_rrs()
Dresolved-dnssd.c264 s->srv_rr->srv.name = strdup(s->manager->mdns_hostname); in dnssd_update_rrs()