Lines Matching refs:mdns_ptr_rr
863 if (a->mdns_ptr_rr) { in link_address_free()
865 dns_zone_remove_rr(&a->link->mdns_ipv4_scope->zone, a->mdns_ptr_rr); in link_address_free()
867 dns_zone_remove_rr(&a->link->mdns_ipv6_scope->zone, a->mdns_ptr_rr); in link_address_free()
874 dns_resource_record_unref(a->mdns_ptr_rr); in link_address_free()
964 if (!a->mdns_ptr_rr) { in link_address_add_rrs()
965 …r = dns_resource_record_new_reverse(&a->mdns_ptr_rr, a->family, &a->in_addr, a->link->manager->mdn… in link_address_add_rrs()
969 a->mdns_ptr_rr->ttl = MDNS_DEFAULT_TTL; in link_address_add_rrs()
976 …r = dns_zone_put(&a->link->mdns_ipv4_scope->zone, a->link->mdns_ipv4_scope, a->mdns_ptr_rr, false); in link_address_add_rrs()
986 if (a->mdns_ptr_rr) { in link_address_add_rrs()
988 … dns_zone_remove_rr(&a->link->mdns_ipv4_scope->zone, a->mdns_ptr_rr); in link_address_add_rrs()
989 a->mdns_ptr_rr = dns_resource_record_unref(a->mdns_ptr_rr); in link_address_add_rrs()
1075 if (!a->mdns_ptr_rr) { in link_address_add_rrs()
1076 …r = dns_resource_record_new_reverse(&a->mdns_ptr_rr, a->family, &a->in_addr, a->link->manager->mdn… in link_address_add_rrs()
1080 a->mdns_ptr_rr->ttl = MDNS_DEFAULT_TTL; in link_address_add_rrs()
1087 …r = dns_zone_put(&a->link->mdns_ipv6_scope->zone, a->link->mdns_ipv6_scope, a->mdns_ptr_rr, false); in link_address_add_rrs()
1097 if (a->mdns_ptr_rr) { in link_address_add_rrs()
1099 … dns_zone_remove_rr(&a->link->mdns_ipv6_scope->zone, a->mdns_ptr_rr); in link_address_add_rrs()
1100 a->mdns_ptr_rr = dns_resource_record_unref(a->mdns_ptr_rr); in link_address_add_rrs()