Lines Matching refs:netid
56 std::vector<std::string> resolv_cache_dump_subsampling_map(unsigned netid);
57 uint32_t resolv_cache_get_subsampling_denom(unsigned netid, int return_code);
67 ResolvCacheStatus resolv_cache_lookup(unsigned netid, const void* query, int querylen, void* answer,
72 int resolv_cache_add(unsigned netid, const void* query, int querylen, const void* answer,
76 void _resolv_cache_query_failed(unsigned netid, const void* query, int querylen, uint32_t flags);
79 std::vector<std::string> getCustomizedTableByName(const size_t netid, const char* hostname);
83 int resolv_set_nameservers(unsigned netid, const std::vector<std::string>& servers,
92 int resolv_create_cache_for_net(unsigned netid);
95 void resolv_delete_cache_for_net(unsigned netid);
98 int resolv_flush_cache_for_net(unsigned netid);
101 android::net::NetworkType resolv_get_network_types_for_net(unsigned netid);
105 bool has_named_cache(unsigned netid);
110 int resolv_cache_get_expiration(unsigned netid, const std::vector<char>& query, time_t* expiration);
113 int resolv_stats_set_servers_for_dot(unsigned netid, const std::vector<std::string>& servers);
116 bool resolv_stats_add(unsigned netid, const android::netdutils::IPSockAddr& server,
123 unsigned netid, res_params* params, res_stats stats[MAXNS],
129 void resolv_cache_add_resolver_stats_sample(unsigned netid, int revision_id,
137 void resolv_netconfig_dump(android::netdutils::DumpWriter& dw, unsigned netid);