Lines Matching refs:netcontext
145 const android_net_context* netcontext, addrinfo** rv,
265 const android_net_context netcontext = { in getaddrinfo_numeric() local
274 return android_getaddrinfofornetcontext(hostname, servname, &hints, &netcontext, result, in getaddrinfo_numeric()
324 const addrinfo* hints, const android_net_context* netcontext, in android_getaddrinfofornetcontext() argument
330 assert(netcontext != nullptr); in android_getaddrinfofornetcontext()
398 return resolv_getaddrinfo(hostname, servname, hints, netcontext, res, event); in android_getaddrinfofornetcontext()
411 const android_net_context* _Nonnull netcontext, addrinfo** _Nonnull res, in resolv_getaddrinfo() argument
419 assert(netcontext != nullptr); in resolv_getaddrinfo()
447 error = explore_fqdn(&tmp, hostname, servname, &cur->ai_next, netcontext, event); in resolv_getaddrinfo()
463 addrinfo** res, const android_net_context* netcontext, in explore_fqdn() argument
476 if (!files_getaddrinfo(netcontext->dns_netid, hostname, pai, &result)) { in explore_fqdn()
477 error = dns_getaddrinfo(hostname, pai, netcontext, &result, event); in explore_fqdn()
1395 const android_net_context* netcontext, addrinfo** rv, in dns_getaddrinfo() argument
1407 query_ipv6 = have_ipv6(netcontext->app_mark, netcontext->uid); in dns_getaddrinfo()
1408 query_ipv4 = have_ipv4(netcontext->app_mark, netcontext->uid); in dns_getaddrinfo()
1440 res_init(&res, netcontext, event); in dns_getaddrinfo()
1467 _rfc6724_sort(&sentinel, netcontext->app_mark, netcontext->uid); in dns_getaddrinfo()