Searched refs:res_params (Results 1 – 11 of 11) sorted by relevance
/system/netd/resolv/ |
D | ResolverController.cpp | 98 res_params* params, std::vector<android::net::ResolverStats>* stats, in getDnsInfo() 120 *params = res_params{}; in getDnsInfo() 232 res_params res_params = {}; in setResolverConfiguration() local 233 res_params.sample_validity = resolverParams.sampleValiditySeconds; in setResolverConfiguration() 234 res_params.success_threshold = resolverParams.successThreshold; in setResolverConfiguration() 235 res_params.min_samples = resolverParams.minSamples; in setResolverConfiguration() 236 res_params.max_samples = resolverParams.maxSamples; in setResolverConfiguration() 237 res_params.base_timeout_msec = resolverParams.baseTimeoutMsec; in setResolverConfiguration() 238 res_params.retry_count = resolverParams.retryCount; in setResolverConfiguration() 244 server_ptrs.size(), domains_str.c_str(), &res_params); in setResolverConfiguration() [all …]
|
D | resolv_cache.h | 69 const char* domains, const res_params* params);
|
D | res_stats.cpp | 112 static bool res_stats_usable_server(const res_params* params, res_stats* stats) { in res_stats_usable_server() 147 int android_net_res_stats_get_usable_servers(const res_params* params, res_stats stats[], in android_net_res_stats_get_usable_servers()
|
D | ResolverController.h | 29 struct res_params;
|
D | resolver_test.cpp | 111 std::vector<std::string>* tlsServers, res_params* params, in GetResolverInfo() 126 *params = res_params{ in GetResolverInfo() 275 res_params res_params; in RunGetAddrInfoStressTest_Binder() local 278 ASSERT_TRUE(GetResolverInfo(&res_servers, &res_domains, &res_tls_servers, &res_params, in RunGetAddrInfoStressTest_Binder() 544 res_params res_params; in TEST_F() local 547 ASSERT_TRUE(GetResolverInfo(&res_servers, &res_domains, &res_tls_servers, &res_params, in TEST_F() 554 res_params.sample_validity); in TEST_F() 556 res_params.success_threshold); in TEST_F() 557 EXPECT_EQ(kDefaultParams[IDnsResolver::RESOLVER_PARAMS_MIN_SAMPLES], res_params.min_samples); in TEST_F() 558 EXPECT_EQ(kDefaultParams[IDnsResolver::RESOLVER_PARAMS_MAX_SAMPLES], res_params.max_samples); in TEST_F() [all …]
|
D | resolv_private.h | 128 int resolv_cache_get_resolver_stats(unsigned netid, res_params* params, res_stats stats[MAXNS]);
|
D | res_send.cpp | 122 static int send_vc(res_state, res_params* params, const u_char*, int, u_char*, int, int*, int, 124 static int send_dg(res_state, res_params* params, const u_char*, int, u_char*, int, int*, int, int*, 497 res_params params; in res_nsend() 686 static struct timespec get_timeout(const res_state statp, const res_params* params, const int ns) { in get_timeout() 707 static int send_vc(res_state statp, res_params* params, const u_char* buf, int buflen, u_char* ans, in send_vc() 973 static int send_dg(res_state statp, res_params* params, const u_char* buf, int buflen, u_char* ans, in send_dg()
|
D | res_cache.cpp | 1144 res_params params; 1697 static void resolv_set_default_params(res_params* params) { in resolv_set_default_params() 1706 static void resolv_set_experiment_params(res_params* params) { in resolv_set_experiment_params() 1723 const char* domains, const res_params* params) { in resolv_set_nameservers_for_net() 1942 res_params* params, struct res_stats stats[MAXNS], in android_net_res_stats_get_info_for_net() 2003 int resolv_cache_get_resolver_stats(unsigned netid, res_params* params, res_stats stats[MAXNS]) { in resolv_cache_get_resolver_stats()
|
D | libnetd_resolv_test.cpp | 88 const res_params mDefaultParams_Binder = {
|
/system/netd/resolv/include/netd_resolv/ |
D | stats.h | 54 char domains[MAXDNSRCH][MAXDNSRCHPATH], res_params* params, res_stats stats[MAXNS], 58 LIBNETD_RESOLV_PUBLIC int android_net_res_stats_get_usable_servers(const res_params* params,
|
D | params.h | 28 struct res_params { struct
|