Searched refs:resp (Results 1 – 10 of 10) sorted by relevance
73 struct __res_state *resp = ctx->resp; in maybe_init() local74 if (resp->options & RES_INIT) in maybe_init()93 if (resp->nscount > 0) in maybe_init()113 if (!resp->retrans) in maybe_init()114 resp->retrans = RES_TIMEOUT; in maybe_init()115 if (!resp->retry) in maybe_init()116 resp->retry = RES_DFLRETRY; in maybe_init()117 resp->options = RES_DEFAULT; in maybe_init()118 if (!resp->id) in maybe_init()119 resp->id = res_randomid (); in maybe_init()[all …]
256 || (resp->_u._ext.nscount != 0 && resp->_u._ext.nscount != nserv)) in resolv_conf_matches()285 if (resp->dnsrch[0] != resp->defdname) in resolv_conf_matches()468 resp->defdname[0] = '\0'; in update_from_conf()469 resp->pfcode = 0; in update_from_conf()470 resp->_vcsock = -1; in update_from_conf()471 resp->_flags = 0; in update_from_conf()483 resp->nscount = 0; in update_from_conf()514 resp->nscount = nserv; in update_from_conf()522 = alloc_buffer_create (resp->defdname, sizeof (resp->defdname)); in update_from_conf()533 resp->dnsrch[i] = NULL; in update_from_conf()[all …]
49 struct __res_state *resp; /* Backing resolver state. */ member106 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()119 return ctx->resp->nscount; in __resolv_context_nameserver_count()133 if (index < ctx->resp->nscount) in __resolv_context_nameserver()135 if (ctx->resp->nsaddr_list[index].sin_family != 0) in __resolv_context_nameserver()136 return (const struct sockaddr *) &ctx->resp->nsaddr_list[index]; in __resolv_context_nameserver()150 return ctx->resp->nsort; in __resolv_context_sort_count()163 else if (index < ctx->resp->nsort) in __resolv_context_sort_entry()166 .addr = ctx->resp->sort_list[index].addr, in __resolv_context_sort_entry()[all …]
94 print_resp (FILE *fp, res_state resp) in print_resp() argument110 || resp->ndots != 1 in print_resp()115 if (resp->ndots != 1) in print_resp()138 if (resp->dnsrch[0] != NULL) in print_resp()148 else if (resp->defdname[0] != '\0') in print_resp()165 if (resp->nsort > 0) in print_resp()364 res_state resp = xmalloc (sizeof (*resp)); in run_res_init() local365 memset (resp, 0, sizeof (*resp)); in run_res_init()367 print_resp (stdout, resp); in run_res_init()368 res_nclose (resp); in run_res_init()[all …]
121 if (ctx->resp->options & RES_TRUSTAD) in __res_context_mkquery()123 hp->rd = (ctx->resp->options & RES_RECURSE) != 0; in __res_context_mkquery()191 memcpy (&ctx->resp->id, buf, 2); in libc_hidden_def()291 if (ctx->resp->options & RES_USE_DNSSEC) in __res_nopt()
105 void __resolv_conf_detach (struct __res_state *resp) attribute_hidden;
101 if (ctx->resp->options & RES_NOALIASES) in __res_context_hostalias()
51 TEST_VERIFY (ctx->resp == array + i); in do_test()
114 struct __res_state *statp = ctx->resp; in __res_context_query()339 struct __res_state *statp = ctx->resp; in __res_context_search()589 struct __res_state *statp = ctx->resp; in __res_context_querydomain()
247 if (!(ctx->resp->options & RES_TRUSTAD)) in mask_ad_bit()259 struct __res_state *statp = ctx->resp; in __res_context_send()
Completed in 22 milliseconds