Searched refs:netcontext (Results 1 – 4 of 4) sorted by relevance
/bionic/libc/dns/net/ |
D | gethnamaddr.c | 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() [all …]
|
D | getaddrinfo.c | 574 struct android_net_context netcontext = { in android_getaddrinfofornet() local 581 return android_getaddrinfofornetcontext(hostname, servname, hints, &netcontext, res); in android_getaddrinfofornet() 587 const struct addrinfo *hints, const struct android_net_context *netcontext, in android_getaddrinfofornetcontext() argument 602 assert(netcontext != NULL); in android_getaddrinfofornetcontext() 734 hostname, servname, hints, res, netcontext->app_netid); in android_getaddrinfofornetcontext() 767 pai, hostname, servname, &cur->ai_next, netcontext); in android_getaddrinfofornetcontext() 801 const struct android_net_context *netcontext) in explore_fqdn() argument 827 default_dns_files, hostname, pai, netcontext)) { in explore_fqdn() 1903 const struct android_net_context *netcontext; in _dns_getaddrinfo() local 1907 netcontext = va_arg(ap, const struct android_net_context *); in _dns_getaddrinfo() [all …]
|
D | getnameinfo.c | 317 const struct android_net_context netcontext = { .app_netid = netid, .app_mark = mark }; in getnameinfo_inet() local 318 hp = android_gethostbyaddrfornetcontext_proxy(addr, afd->a_addrlen, afd->a_af, &netcontext); in getnameinfo_inet()
|
/bionic/libc/dns/resolv/ |
D | res_init.c | 771 void res_setnetcontext(res_state statp, const struct android_net_context *netcontext) in res_setnetcontext() argument 774 statp->netid = netcontext->dns_netid; in res_setnetcontext() 775 statp->_mark = netcontext->dns_mark; in res_setnetcontext() 776 statp->qhook = netcontext->qhook; in res_setnetcontext() 777 if (netcontext->flags & NET_CONTEXT_FLAG_USE_EDNS) { in res_setnetcontext()
|