Lines Matching refs:srv
406 free(rr->srv.name); in dns_resource_record_free()
574 r = dns_name_equal(a->srv.name, b->srv.name); in dns_resource_record_payload_equal()
578 return a->srv.priority == b->srv.priority && in dns_resource_record_payload_equal()
579 a->srv.weight == b->srv.weight && in dns_resource_record_payload_equal()
580 a->srv.port == b->srv.port; in dns_resource_record_payload_equal()
834 rr->srv.priority, in dns_resource_record_to_string()
835 rr->srv.weight, in dns_resource_record_to_string()
836 rr->srv.port, in dns_resource_record_to_string()
837 strna(rr->srv.name)); in dns_resource_record_to_string()
1337 siphash24_compress(&rr->srv.priority, sizeof(rr->srv.priority), state); in dns_resource_record_hash_func()
1338 siphash24_compress(&rr->srv.weight, sizeof(rr->srv.weight), state); in dns_resource_record_hash_func()
1339 siphash24_compress(&rr->srv.port, sizeof(rr->srv.port), state); in dns_resource_record_hash_func()
1340 dns_name_hash_func(rr->srv.name, state); in dns_resource_record_hash_func()
1504 copy->srv.priority = rr->srv.priority; in dns_resource_record_copy()
1505 copy->srv.weight = rr->srv.weight; in dns_resource_record_copy()
1506 copy->srv.port = rr->srv.port; in dns_resource_record_copy()
1507 copy->srv.name = strdup(rr->srv.name); in dns_resource_record_copy()
1508 if (!copy->srv.name) in dns_resource_record_copy()