Home
last modified time | relevance | path

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

/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.c2182 if ((size_t) ai->ai_addrlen <= sizeof(statp->_u._ext.ext->nsaddrs[0])) { in _resolv_populate_res_for_net()
2184 memcpy(&statp->_u._ext.ext->nsaddrs[nserv], ai->ai_addr, ai->ai_addrlen); in _resolv_populate_res_for_net()
2187 if ((size_t) ai->ai_addrlen in _resolv_populate_res_for_net()
2190 ai->ai_addrlen); in _resolv_populate_res_for_net()
2261 int addrlen = info->nsaddrinfo[i]->ai_addrlen; in android_net_res_stats_get_info_for_net()
2284 memcpy(&servers[i], info->nsaddrinfo[i]->ai_addr, info->nsaddrinfo[i]->ai_addrlen); in android_net_res_stats_get_info_for_net()
/bionic/tests/headers/posix/
Dnetdb_h.c68 STRUCT_MEMBER(struct addrinfo, socklen_t, ai_addrlen); in netdb_h()
/bionic/libc/include/
Dnetdb.h117 socklen_t ai_addrlen; /* length of ai_addr */ member
/bionic/libc/dns/net/
Dgetaddrinfo.c504 ai->ai_addrlen = addr_len; in android_getaddrinfo_proxy()
610 pai->ai_addrlen = 0; in android_getaddrinfofornetcontext()
619 if (hints->ai_addrlen || hints->ai_canonname || in android_getaddrinfofornetcontext()
1121 ai->ai_addrlen = afd->a_socklen; in get_ai()
/bionic/tests/
Dnetdb_test.cpp107 ASSERT_GE(ai->ai_addrlen, static_cast<socklen_t>(sizeof(sockaddr_in6))); in TEST()