/bionic/libc/dns/net/ |
getnameinfo.c | 305 const struct android_net_context netcontext = { .app_netid = netid, .app_mark = mark }; local 306 hp = android_gethostbyaddrfornetcontext_proxy(addr, afd->a_addrlen, afd->a_af, &netcontext);
|
gethnamaddr.c | 825 size_t hbuflen, int *errorp, const struct android_net_context *netcontext) 830 res_setnetcontext(res, netcontext); 834 unsigned netid = __netdClientDispatch.netIdForResolv(netcontext->app_netid); 872 const struct android_net_context *netcontext) 924 default_dns_files, uaddr, len, af, netcontext) != NS_SUCCESS) 933 const struct android_net_context *netcontext) 938 return android_gethostbyaddrfornetcontext_real(addr,len, af, hp, hbuf, hbuflen, he, netcontext); 948 unsigned netid = __netdClientDispatch.netIdForResolv(netcontext->app_netid); 1249 const struct android_net_context *netcontext; local 1256 netcontext = va_arg(ap, const struct android_net_context *) 1601 struct android_net_context netcontext = NETCONTEXT_UNSET; local 1612 const struct android_net_context netcontext = make_context(netid, mark); local 1640 const struct android_net_context netcontext = make_context(netid, mark); local [all...] |
getaddrinfo.c | 570 struct android_net_context netcontext = { local 577 return android_getaddrinfofornetcontext(hostname, servname, hints, &netcontext, res); 582 const struct addrinfo *hints, const struct android_net_context *netcontext, 597 assert(netcontext != NULL); 729 hostname, servname, hints, res, netcontext->app_netid); 762 pai, hostname, servname, &cur->ai_next, netcontext); 796 const struct android_net_context *netcontext) 822 default_dns_files, hostname, pai, netcontext)) { 1898 const struct android_net_context *netcontext; local [all...] |
/system/netd/server/ |
DnsProxyListener.cpp | 147 const android_net_context& netcontext, const int reportingLevel, 153 mNetContext(netcontext), 364 android_net_context netcontext; local 365 mDnsProxyListener->mNetCtrl->getNetworkContext(netId, uid, &netcontext); 366 netcontext.qhook = &qhook; 381 netcontext.app_netid, netcontext.app_mark, 382 netcontext.dns_netid, netcontext.dns_mark, 383 netcontext.uid) 430 android_net_context netcontext; local 574 android_net_context netcontext; local [all...] |