/bionic/libc/dns/include/ |
D | resolv_netid.h | 61 extern void _resolv_set_nameservers_for_net(unsigned netid, 65 extern void _resolv_flush_cache_for_net(unsigned netid) __used_in_netd; 68 extern void _resolv_delete_cache_for_net(unsigned netid) __used_in_netd; 76 extern void _resolv_delete_cache_for_net(unsigned netid);
|
D | resolv_cache.h | 51 _resolv_cache_lookup( unsigned netid, 63 _resolv_cache_add( unsigned netid, 72 _resolv_cache_query_failed( unsigned netid,
|
D | resolv_private.h | 148 unsigned netid; /* NetId: cache key and socket mark */ member
|
/bionic/libc/dns/resolv/ |
D | res_cache.c | 1227 unsigned netid; member 1245 static struct resolv_cache* _find_named_cache_locked(unsigned netid); 1271 _cache_check_pending_request_locked( struct resolv_cache** cache, Entry* key, unsigned netid ) in _cache_check_pending_request_locked() argument 1301 *cache = _find_named_cache_locked(netid); in _cache_check_pending_request_locked() 1338 _resolv_cache_query_failed( unsigned netid, in _resolv_cache_query_failed() argument 1350 cache = _find_named_cache_locked(netid); in _resolv_cache_query_failed() 1606 _resolv_cache_lookup( unsigned netid, in _resolv_cache_lookup() argument 1633 cache = _find_named_cache_locked(netid); in _resolv_cache_lookup() 1649 if (!_cache_check_pending_request_locked(&cache, key, netid) || cache == NULL) { in _resolv_cache_lookup() 1696 _resolv_cache_add( unsigned netid, in _resolv_cache_add() argument [all …]
|
D | res_init.c | 195 statp->netid = NETID_UNSET; in __res_vinit() 811 void res_setnetid(res_state statp, unsigned netid) in res_setnetid() argument 814 statp->netid = netid; in res_setnetid()
|
D | res_send.c | 393 statp->netid, buf, buflen, in res_nsend() 408 _resolv_cache_query_failed(statp->netid, buf, buflen); in res_nsend() 604 _resolv_cache_add(statp->netid, buf, buflen, in res_nsend() 660 _resolv_cache_query_failed(statp->netid, buf, buflen); in res_nsend() 666 _resolv_cache_query_failed(statp->netid, buf, buflen); in res_nsend()
|
/bionic/libc/dns/ |
D | gethnamaddr.c | 523 android_gethostbynamefornet(const char *name, int af, unsigned netid, unsigned mark) in android_gethostbynamefornet() argument 530 hp = gethostbyname_internal(name, af, res, netid, mark); in android_gethostbynamefornet() 749 gethostbyname_internal(const char *name, int af, res_state res, unsigned netid, unsigned mark) in gethostbyname_internal() argument 756 res_setnetid(res, netid); in gethostbyname_internal() 764 netid = __netdClientDispatch.netIdForResolv(netid); in gethostbyname_internal() 769 netid, in gethostbyname_internal() 791 socklen_t len, int af, unsigned netid) in android_gethostbyaddrfornet_proxy() argument 802 netid = __netdClientDispatch.netIdForResolv(netid); in android_gethostbyaddrfornet_proxy() 805 addrStr, len, af, netid) < 0) { in android_gethostbyaddrfornet_proxy() 823 socklen_t len, int af, unsigned netid, unsigned mark) in android_gethostbyaddrfornet_real() argument [all …]
|
/bionic/libc/dns/net/ |
D | getnameinfo.c | 117 size_t hostlen, char* serv, size_t servlen, int flags, unsigned netid, in android_getnameinfofornet() argument 124 serv, servlen, flags, netid, mark); in android_getnameinfofornet() 168 int flags, unsigned netid, unsigned mark) in getnameinfo_inet() argument 306 hp = android_gethostbyaddrfornet_proxy(addr, afd->a_addrlen, afd->a_af, netid); in getnameinfo_inet()
|
D | getaddrinfo.c | 221 const char *, struct addrinfo **, unsigned netid, unsigned mark); 415 const struct addrinfo *hints, struct addrinfo **res, unsigned netid) in android_getaddrinfo_proxy() argument 453 netid = __netdClientDispatch.netIdForResolv(netid); in android_getaddrinfo_proxy() 464 netid) < 0) { in android_getaddrinfo_proxy() 593 const struct addrinfo *hints, unsigned netid, unsigned mark, struct addrinfo **res) in android_getaddrinfofornet() argument 742 return android_getaddrinfo_proxy(hostname, servname, hints, res, netid); in android_getaddrinfofornet() 772 &cur->ai_next, netid, mark); in android_getaddrinfofornet() 805 const char *servname, struct addrinfo **res, unsigned netid, unsigned mark) in explore_fqdn() argument 831 default_dns_files, hostname, pai, netid, mark)) { in explore_fqdn() 1887 unsigned netid, mark; in _dns_getaddrinfo() local [all …]
|