Lines Matching refs:netcontext
144 const android_net_context* netcontext, addrinfo** rv,
264 const android_net_context netcontext = { in getaddrinfo_numeric() local
273 return android_getaddrinfofornetcontext(hostname, servname, &hints, &netcontext, result, in getaddrinfo_numeric()
323 const addrinfo* hints, const android_net_context* netcontext, in android_getaddrinfofornetcontext() argument
329 assert(netcontext != nullptr); in android_getaddrinfofornetcontext()
397 return resolv_getaddrinfo(hostname, servname, hints, netcontext, res, event); in android_getaddrinfofornetcontext()
410 const android_net_context* _Nonnull netcontext, addrinfo** _Nonnull res, in resolv_getaddrinfo() argument
418 assert(netcontext != nullptr); in resolv_getaddrinfo()
446 error = explore_fqdn(&tmp, hostname, servname, &cur->ai_next, netcontext, event); in resolv_getaddrinfo()
462 addrinfo** res, const android_net_context* netcontext, in explore_fqdn() argument
475 if (!files_getaddrinfo(netcontext->dns_netid, hostname, pai, &result)) { in explore_fqdn()
476 error = dns_getaddrinfo(hostname, pai, netcontext, &result, event); in explore_fqdn()
1394 const android_net_context* netcontext, addrinfo** rv, in dns_getaddrinfo() argument
1406 query_ipv6 = have_ipv6(netcontext->app_mark, netcontext->uid); in dns_getaddrinfo()
1407 query_ipv4 = have_ipv4(netcontext->app_mark, netcontext->uid); in dns_getaddrinfo()
1438 ResState res(netcontext, event); in dns_getaddrinfo()
1465 _rfc6724_sort(&sentinel, netcontext->app_mark, netcontext->uid); in dns_getaddrinfo()