Searched refs:netcontext (Results 1 - 4 of 4) sorted by relevance

/bionic/libc/dns/net/
H A Dgethnamaddr.c822 size_t hbuflen, int *errorp, const struct android_net_context *netcontext)
827 res_setnetcontext(res, netcontext);
831 unsigned netid = __netdClientDispatch.netIdForResolv(netcontext->app_netid);
865 const struct android_net_context *netcontext)
917 default_dns_files, uaddr, len, af, netcontext) != NS_SUCCESS)
926 const struct android_net_context *netcontext)
931 return android_gethostbyaddrfornetcontext_real(addr,len, af, hp, hbuf, hbuflen, he, netcontext);
941 unsigned netid = __netdClientDispatch.netIdForResolv(netcontext->app_netid);
1242 const struct android_net_context *netcontext; local
1249 netcontext
821 gethostbyname_internal(const char *name, int af, res_state res, struct hostent *hp, char *hbuf, size_t hbuflen, int *errorp, const struct android_net_context *netcontext) argument
863 android_gethostbyaddrfornetcontext_real(const void *addr, socklen_t len, int af, struct hostent *hp, char *buf, size_t buflen, int *he, const struct android_net_context *netcontext) argument
924 android_gethostbyaddrfornetcontext_proxy_internal(const void* addr, socklen_t len, int af, struct hostent *hp, char *hbuf, size_t hbuflen, int *he, const struct android_net_context *netcontext) argument
1594 struct android_net_context netcontext = NETCONTEXT_UNSET; local
1605 const struct android_net_context netcontext = make_context(netid, mark); local
1610 android_gethostbynamefornetcontext(const char *name, int af, const struct android_net_context *netcontext) argument
1633 const struct android_net_context netcontext = make_context(netid, mark); local
1638 android_gethostbyaddrfornetcontext(const void *addr, socklen_t len, int af, const struct android_net_context *netcontext) argument
1645 android_gethostbyaddrfornetcontext_proxy(const void* addr, socklen_t len, int af, const struct android_net_context *netcontext) argument
[all...]
H A Dgetaddrinfo.c575 struct android_net_context netcontext = { local
582 return android_getaddrinfofornetcontext(hostname, servname, hints, &netcontext, res);
588 const struct addrinfo *hints, const struct android_net_context *netcontext,
603 assert(netcontext != NULL);
735 hostname, servname, hints, res, netcontext->app_netid);
768 pai, hostname, servname, &cur->ai_next, netcontext);
802 const struct android_net_context *netcontext)
828 default_dns_files, hostname, pai, netcontext)) {
1904 const struct android_net_context *netcontext; local
1908 netcontext
587 android_getaddrinfofornetcontext(const char *hostname, const char *servname, const struct addrinfo *hints, const struct android_net_context *netcontext, struct addrinfo **res) argument
800 explore_fqdn(const struct addrinfo *pai, const char *hostname, const char *servname, struct addrinfo **res, const struct android_net_context *netcontext) argument
[all...]
H A Dgetnameinfo.c305 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);
/bionic/libc/dns/resolv/
H A Dres_init.c771 void res_setnetcontext(res_state statp, const struct android_net_context *netcontext) argument
774 statp->netid = netcontext->dns_netid;
775 statp->_mark = netcontext->dns_mark;
776 statp->qhook = netcontext->qhook;
777 if (netcontext->flags & NET_CONTEXT_FLAG_USE_EDNS) {

Completed in 57 milliseconds