Lines Matching refs:netcontext
143 const android_net_context* netcontext, addrinfo** rv,
249 const android_net_context netcontext = { in getaddrinfo_numeric() local
258 return android_getaddrinfofornetcontext(hostname, servname, &hints, &netcontext, result, in getaddrinfo_numeric()
308 const addrinfo* hints, const android_net_context* netcontext, in android_getaddrinfofornetcontext() argument
314 assert(netcontext != nullptr); in android_getaddrinfofornetcontext()
382 return resolv_getaddrinfo(hostname, servname, hints, netcontext, res, event); in android_getaddrinfofornetcontext()
395 const android_net_context* _Nonnull netcontext, addrinfo** _Nonnull res, in resolv_getaddrinfo() argument
403 assert(netcontext != nullptr); in resolv_getaddrinfo()
431 error = explore_fqdn(&tmp, hostname, servname, &cur->ai_next, netcontext, event); in resolv_getaddrinfo()
447 addrinfo** res, const android_net_context* netcontext, in explore_fqdn() argument
460 if (!files_getaddrinfo(netcontext->dns_netid, hostname, pai, &result)) { in explore_fqdn()
461 error = dns_getaddrinfo(hostname, pai, netcontext, &result, event); in explore_fqdn()
1385 const android_net_context* netcontext, addrinfo** rv, in dns_getaddrinfo() argument
1389 ResState res(netcontext, event); in dns_getaddrinfo()
1399 query_ipv6 = have_ipv6(netcontext->app_mark, netcontext->uid, in dns_getaddrinfo()
1401 query_ipv4 = have_ipv4(netcontext->app_mark, netcontext->uid); in dns_getaddrinfo()
1457 resolv_rfc6724_sort(&sentinel, netcontext->app_mark, netcontext->uid); in dns_getaddrinfo()