Home
last modified time | relevance | path

Searched refs:res_params (Results 1 – 11 of 11) sorted by relevance

/system/netd/resolv/
DResolverController.cpp98 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 …]
Dresolv_cache.h69 const char* domains, const res_params* params);
Dres_stats.cpp112 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()
DResolverController.h29 struct res_params;
Dresolver_test.cpp111 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 …]
Dresolv_private.h128 int resolv_cache_get_resolver_stats(unsigned netid, res_params* params, res_stats stats[MAXNS]);
Dres_send.cpp122 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()
Dres_cache.cpp1144 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()
Dlibnetd_resolv_test.cpp88 const res_params mDefaultParams_Binder = {
/system/netd/resolv/include/netd_resolv/
Dstats.h54 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,
Dparams.h28 struct res_params { struct