Home
last modified time | relevance | path

Searched refs:ai_addrlen (Results 1 – 5 of 5) sorted by relevance

/bionic/libc/include/
Dnetdb.h115 socklen_t ai_addrlen; /* length of ai_addr */ member
/bionic/libc/dns/resolv/
Dres_init.c370 ai->ai_addrlen <= minsiz) { in __res_vinit()
373 ai->ai_addr, ai->ai_addrlen); in __res_vinit()
375 if (ai->ai_addrlen <= in __res_vinit()
378 ai->ai_addr, ai->ai_addrlen); in __res_vinit()
Dres_cache.c2129 if ((size_t) ai->ai_addrlen <= sizeof(statp->_u._ext.ext->nsaddrs[0])) { in _resolv_populate_res_for_net()
2131 memcpy(&statp->_u._ext.ext->nsaddrs[nserv], ai->ai_addr, ai->ai_addrlen); in _resolv_populate_res_for_net()
2134 if ((size_t) ai->ai_addrlen in _resolv_populate_res_for_net()
2137 ai->ai_addrlen); in _resolv_populate_res_for_net()
2208 int addrlen = info->nsaddrinfo[i]->ai_addrlen; in android_net_res_stats_get_info_for_net()
2231 memcpy(&servers[i], info->nsaddrinfo[i]->ai_addr, info->nsaddrinfo[i]->ai_addrlen); in android_net_res_stats_get_info_for_net()
/bionic/tests/
Dnetdb_test.cpp106 ASSERT_GE(ai->ai_addrlen, static_cast<socklen_t>(sizeof(sockaddr_in6))); in TEST()
/bionic/libc/dns/net/
Dgetaddrinfo.c502 ai->ai_addrlen = addr_len; in android_getaddrinfo_proxy()
605 pai->ai_addrlen = 0; in android_getaddrinfofornetcontext()
614 if (hints->ai_addrlen || hints->ai_canonname || in android_getaddrinfofornetcontext()
1116 ai->ai_addrlen = afd->a_socklen; in get_ai()