Lines Matching refs:netcontext

793                        size_t hbuflen, int *errorp, const struct android_net_context *netcontext)  in gethostbyname_internal()  argument
798 res_setnetcontext(res, netcontext); in gethostbyname_internal()
801 unsigned netid = __netdClientDispatch.netIdForResolv(netcontext->app_netid); in gethostbyname_internal()
835 const struct android_net_context *netcontext) in android_gethostbyaddrfornetcontext_real() argument
887 default_dns_files, uaddr, len, af, netcontext) != NS_SUCCESS) in android_gethostbyaddrfornetcontext_real()
896 const struct android_net_context *netcontext) in android_gethostbyaddrfornetcontext_proxy_internal() argument
901 return android_gethostbyaddrfornetcontext_real(addr,len, af, hp, hbuf, hbuflen, he, netcontext); in android_gethostbyaddrfornetcontext_proxy_internal()
910 unsigned netid = __netdClientDispatch.netIdForResolv(netcontext->app_netid); in android_gethostbyaddrfornetcontext_proxy_internal()
1211 const struct android_net_context *netcontext; in _dns_gethtbyaddr() local
1218 netcontext = va_arg(ap, const struct android_net_context *); in _dns_gethtbyaddr()
1260 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()
1602 const struct android_net_context netcontext = make_context(netid, mark); in android_gethostbyaddrfornet() local
1603 return android_gethostbyaddrfornetcontext(addr, len, af, &netcontext); in android_gethostbyaddrfornet()
1608 const struct android_net_context *netcontext) in android_gethostbyaddrfornetcontext() argument
1610 return android_gethostbyaddrfornetcontext_proxy(addr, len, af, netcontext); in android_gethostbyaddrfornetcontext()
1615 const struct android_net_context *netcontext) in android_gethostbyaddrfornetcontext_proxy() argument
1619 sizeof(rs->hostbuf), &h_errno, netcontext); in android_gethostbyaddrfornetcontext_proxy()