Home
last modified time | relevance | path

Searched refs:dnsrch (Results 1 – 4 of 4) sorted by relevance

/resolv/
A Dresolv_conf.c279 if (resp->dnsrch[0] == NULL) in resolv_conf_matches()
285 if (resp->dnsrch[0] != resp->defdname) in resolv_conf_matches()
292 if (resp->dnsrch[nsearch] == NULL) in resolv_conf_matches()
301 if (resp->dnsrch[i] != NULL) in resolv_conf_matches()
303 search_list_size += strlen (resp->dnsrch[i]) + 1; in resolv_conf_matches()
304 if (strcmp (resp->dnsrch[i], conf->search_list[i]) != 0) in resolv_conf_matches()
313 if (i == MAXDNSRCH || search_list_size > sizeof (resp->dnsrch)) in resolv_conf_matches()
527 resp->dnsrch[i] = alloc_buffer_copy_string in update_from_conf()
529 if (resp->dnsrch[i] == NULL) in update_from_conf()
533 resp->dnsrch[i] = NULL; in update_from_conf()
A Dresolv_context.h106 for (size_t i = 0; ctx->resp->dnsrch[i] != NULL && i < MAXDNSRCH; ++i) in libc_hidden_proto()
108 return ctx->resp->dnsrch[i]; in libc_hidden_proto()
A Dtst-resolv-res_init-skeleton.c138 if (resp->dnsrch[0] != NULL) in print_resp()
141 for (int i = 0; i < MAXDNSRCH && resp->dnsrch[i] != NULL; ++i) in print_resp()
144 fputs (resp->dnsrch[i], fp); in print_resp()
/resolv/bits/types/
A Dres_state.h22 char *dnsrch[MAXDNSRCH+1]; /* components of domain to search */ member

Completed in 11 milliseconds