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.c238 statp->_u._ext.ext->nsaddrs[0].sin = statp->nsaddr; in __res_vinit()
357 sizeof(statp->_u._ext.ext->nsaddrs[0]); in __res_vinit()
372 memcpy(&statp->_u._ext.ext->nsaddrs[nserv], in __res_vinit()
689 memcpy(&statp->_u._ext.ext->nsaddrs[nserv], in res_setservers()
703 memcpy(&statp->_u._ext.ext->nsaddrs[nserv], in res_setservers()
732 family = statp->_u._ext.ext->nsaddrs[i].sin.sin_family; in res_getservers()
741 &statp->_u._ext.ext->nsaddrs[i], in res_getservers()
753 &statp->_u._ext.ext->nsaddrs[i], in res_getservers()
Dres_send.c413 (struct sockaddr *)(void *)&EXT(statp).ext->nsaddrs[ns])) { in res_nsend()
448 EXT(statp).ext->nsaddrs[ns].sin = in res_nsend()
467 inu = EXT(statp).ext->nsaddrs[0]; in res_nsend()
473 EXT(statp).ext->nsaddrs[ns] = in res_nsend()
474 EXT(statp).ext->nsaddrs[ns + 1]; in res_nsend()
480 EXT(statp).ext->nsaddrs[lastns] = inu; in res_nsend()
721 return (struct sockaddr *)(void *)&EXT(statp).ext->nsaddrs[n];
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()