Home
last modified time | relevance | path

Searched refs:nsaddrs (Results 1 – 4 of 4) sorted by relevance

/bionic/libc/dns/resolv/
Dres_private.h7 union res_sockaddr_union nsaddrs[MAXNS]; member
Dres_init.c239 statp->_u._ext.ext->nsaddrs[0].sin = statp->nsaddr; in __res_vinit()
356 sizeof(statp->_u._ext.ext->nsaddrs[0]); in __res_vinit()
371 memcpy(&statp->_u._ext.ext->nsaddrs[nserv], in __res_vinit()
688 memcpy(&statp->_u._ext.ext->nsaddrs[nserv], in res_setservers()
702 memcpy(&statp->_u._ext.ext->nsaddrs[nserv], in res_setservers()
731 family = statp->_u._ext.ext->nsaddrs[i].sin.sin_family; in res_getservers()
740 &statp->_u._ext.ext->nsaddrs[i], in res_getservers()
752 &statp->_u._ext.ext->nsaddrs[i], in res_getservers()
Dres_send.c429 (struct sockaddr *)(void *)&EXT(statp).ext->nsaddrs[ns])) { in res_nsend()
463 EXT(statp).ext->nsaddrs[ns].sin = in res_nsend()
482 inu = EXT(statp).ext->nsaddrs[0]; in res_nsend()
488 EXT(statp).ext->nsaddrs[ns] = in res_nsend()
489 EXT(statp).ext->nsaddrs[ns + 1]; in res_nsend()
495 EXT(statp).ext->nsaddrs[lastns] = inu; in res_nsend()
708 return (struct sockaddr *)(void *)&EXT(statp).ext->nsaddrs[n];
Dres_cache.c2076 if ((size_t) ai->ai_addrlen <= sizeof(statp->_u._ext.ext->nsaddrs[0])) { in _resolv_populate_res_for_net()
2078 memcpy(&statp->_u._ext.ext->nsaddrs[nserv], ai->ai_addr, ai->ai_addrlen); in _resolv_populate_res_for_net()