Lines Matching refs:mdns_address_rr
856 if (a->mdns_address_rr) { in link_address_free()
858 … dns_zone_remove_rr(&a->link->mdns_ipv4_scope->zone, a->mdns_address_rr); in link_address_free()
860 … dns_zone_remove_rr(&a->link->mdns_ipv6_scope->zone, a->mdns_address_rr); in link_address_free()
873 dns_resource_record_unref(a->mdns_address_rr); in link_address_free()
953 if (!a->mdns_address_rr) { in link_address_add_rrs()
954 … a->mdns_address_rr = dns_resource_record_new(a->link->manager->mdns_host_ipv4_key); in link_address_add_rrs()
955 if (!a->mdns_address_rr) { in link_address_add_rrs()
960 a->mdns_address_rr->a.in_addr = a->in_addr.in; in link_address_add_rrs()
961 a->mdns_address_rr->ttl = MDNS_DEFAULT_TTL; in link_address_add_rrs()
972 … dns_zone_put(&a->link->mdns_ipv4_scope->zone, a->link->mdns_ipv4_scope, a->mdns_address_rr, true); in link_address_add_rrs()
980 if (a->mdns_address_rr) { in link_address_add_rrs()
982 … dns_zone_remove_rr(&a->link->mdns_ipv4_scope->zone, a->mdns_address_rr); in link_address_add_rrs()
983 a->mdns_address_rr = dns_resource_record_unref(a->mdns_address_rr); in link_address_add_rrs()
1064 if (!a->mdns_address_rr) { in link_address_add_rrs()
1065 … a->mdns_address_rr = dns_resource_record_new(a->link->manager->mdns_host_ipv6_key); in link_address_add_rrs()
1066 if (!a->mdns_address_rr) { in link_address_add_rrs()
1071 a->mdns_address_rr->aaaa.in6_addr = a->in_addr.in6; in link_address_add_rrs()
1072 a->mdns_address_rr->ttl = MDNS_DEFAULT_TTL; in link_address_add_rrs()
1083 … dns_zone_put(&a->link->mdns_ipv6_scope->zone, a->link->mdns_ipv6_scope, a->mdns_address_rr, true); in link_address_add_rrs()
1091 if (a->mdns_address_rr) { in link_address_add_rrs()
1093 … dns_zone_remove_rr(&a->link->mdns_ipv6_scope->zone, a->mdns_address_rr); in link_address_add_rrs()
1094 a->mdns_address_rr = dns_resource_record_unref(a->mdns_address_rr); in link_address_add_rrs()