Lines Matching refs:params
141 static int send_vc(res_state, struct __res_params *params, const u_char *, int,
143 static int send_dg(res_state, struct __res_params *params, const u_char *, int,
482 struct __res_params params; in res_nsend() local
483 int revision_id = _resolv_cache_get_resolver_stats(statp->netid, ¶ms, stats); in res_nsend()
485 android_net_res_stats_get_usable_servers(¶ms, stats, statp->nscount, in res_nsend()
546 n = send_vc(statp, ¶ms, buf, buflen, ans, anssiz, &terrno, in res_nsend()
558 ns, &sample, params.max_samples); in res_nsend()
577 n = send_dg(statp, ¶ms, buf, buflen, ans, anssiz, &terrno, in res_nsend()
585 ns, &sample, params.max_samples); in res_nsend()
724 static struct timespec get_timeout(const res_state statp, const struct __res_params* params, const … in get_timeout() argument
727 if (params->base_timeout_msec != 0) { in get_timeout()
729 msec = params->base_timeout_msec; in get_timeout()
753 send_vc(res_state statp, struct __res_params* params, in send_vc() argument
837 get_timeout(statp, params, ns)) < 0) { in send_vc()
1069 send_dg(res_state statp, struct __res_params* params, in send_dg() argument
1162 timeout = get_timeout(statp, params, ns); in send_dg()