Lines Matching refs:netcontext
792 size_t hbuflen, int *errorp, const struct android_net_context *netcontext) in gethostbyname_internal() argument
797 res_setnetcontext(res, netcontext); in gethostbyname_internal()
800 unsigned netid = __netdClientDispatch.netIdForResolv(netcontext->app_netid); in gethostbyname_internal()
834 const struct android_net_context *netcontext) in android_gethostbyaddrfornetcontext_real() argument
886 default_dns_files, uaddr, len, af, netcontext) != NS_SUCCESS) in android_gethostbyaddrfornetcontext_real()
895 const struct android_net_context *netcontext) in android_gethostbyaddrfornetcontext_proxy_internal() argument
900 return android_gethostbyaddrfornetcontext_real(addr,len, af, hp, hbuf, hbuflen, he, netcontext); in android_gethostbyaddrfornetcontext_proxy_internal()
909 unsigned netid = __netdClientDispatch.netIdForResolv(netcontext->app_netid); in android_gethostbyaddrfornetcontext_proxy_internal()
1210 const struct android_net_context *netcontext; in _dns_gethtbyaddr() local
1217 netcontext = va_arg(ap, const struct android_net_context *); in _dns_gethtbyaddr()
1259 res_setnetcontext(res, netcontext); in _dns_gethtbyaddr()
1563 struct android_net_context netcontext = NETCONTEXT_UNSET; in make_context() local
1564 netcontext.app_netid = netid; in make_context()
1565 netcontext.app_mark = mark; in make_context()
1566 netcontext.dns_netid = netid; in make_context()
1567 netcontext.dns_mark = mark; in make_context()
1568 return netcontext; in make_context()
1574 const struct android_net_context netcontext = make_context(netid, mark); in android_gethostbynamefornet() local
1575 return android_gethostbynamefornetcontext(name, af, &netcontext); in android_gethostbynamefornet()
1580 const struct android_net_context *netcontext) in android_gethostbynamefornetcontext() argument
1588 &h_errno, netcontext); in android_gethostbynamefornetcontext()
1603 const struct android_net_context netcontext = make_context(netid, mark); in android_gethostbyaddrfornet() local
1604 return android_gethostbyaddrfornetcontext(addr, len, af, &netcontext); in android_gethostbyaddrfornet()
1609 const struct android_net_context *netcontext) in android_gethostbyaddrfornetcontext() argument
1611 return android_gethostbyaddrfornetcontext_proxy(addr, len, af, netcontext); in android_gethostbyaddrfornetcontext()
1616 const struct android_net_context *netcontext) in android_gethostbyaddrfornetcontext_proxy() argument
1620 sizeof(rs->hostbuf), &h_errno, netcontext); in android_gethostbyaddrfornetcontext_proxy()