Home
last modified time | relevance | path

Searched refs:search_domain (Results 1 – 6 of 6) sorted by relevance

/systemd-251/src/resolve/
Dresolved-dns-query.c85 dns_search_domain_unref(c->search_domain); in dns_query_candidate_free()
97 if (c->search_domain && c->search_domain->linked) in dns_query_candidate_next_search_domain()
98 next = c->search_domain->domains_next; in dns_query_candidate_next_search_domain()
113 dns_search_domain_unref(c->search_domain); in dns_query_candidate_next_search_domain()
114 c->search_domain = dns_search_domain_ref(next); in dns_query_candidate_next_search_domain()
273 if (c->search_domain) { in dns_query_candidate_setup_transactions()
274 … r = dns_resource_key_new_append_suffix(&new_key, key, c->search_domain->name); in dns_query_candidate_setup_transactions()
313 if (state != DNS_TRANSACTION_SUCCESS && c->search_domain) { in dns_query_candidate_notify()
918 q->answer_search_domain = dns_search_domain_ref(c->search_domain); in dns_query_accept()
Dresolved-dns-question.c74 int dns_question_matches_rr(DnsQuestion *q, DnsResourceRecord *rr, const char *search_domain) { in dns_question_matches_rr() argument
84 r = dns_resource_key_match_rr(key, rr, search_domain); in dns_question_matches_rr()
92 …question_matches_cname_or_dname(DnsQuestion *q, DnsResourceRecord *rr, const char *search_domain) { in dns_question_matches_cname_or_dname() argument
109 r = dns_resource_key_match_cname_or_dname(key, rr->key, search_domain); in dns_question_matches_cname_or_dname()
Dresolved-dns-question.h38 int dns_question_matches_rr(DnsQuestion *q, DnsResourceRecord *rr, const char *search_domain);
39 …_question_matches_cname_or_dname(DnsQuestion *q, DnsResourceRecord *rr, const char* search_domain);
Dresolved-dns-rr.h308 …resource_key_match_rr(const DnsResourceKey *key, DnsResourceRecord *rr, const char *search_domain);
309 …_cname_or_dname(const DnsResourceKey *key, const DnsResourceKey *cname, const char *search_domain);
Dresolved-dns-query.h25 DnsSearchDomain *search_domain; member
Dresolved-dns-rr.c203 …esource_key_match_rr(const DnsResourceKey *key, DnsResourceRecord *rr, const char *search_domain) { in dns_resource_key_match_rr() argument
226 if (search_domain) { in dns_resource_key_match_rr()
229 r = dns_name_concat(dns_resource_key_name(key), search_domain, 0, &joined); in dns_resource_key_match_rr()
239 …cname_or_dname(const DnsResourceKey *key, const DnsResourceKey *cname, const char *search_domain) { in dns_resource_key_match_cname_or_dname() argument
261 if (search_domain) { in dns_resource_key_match_cname_or_dname()
264 r = dns_name_concat(dns_resource_key_name(key), search_domain, 0, &joined); in dns_resource_key_match_cname_or_dname()