Home
last modified time | relevance | path

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

/system/netd/resolv/
Dres_init.cpp162 statp->_u._ext.ext->nsaddrs[0].sin = statp->nsaddr; in res_vinit()
318 memcpy(&statp->_u._ext.ext->nsaddrs[nserv], &set->sin, size); in res_setservers()
330 memcpy(&statp->_u._ext.ext->nsaddrs[nserv], &set->sin6, size); in res_setservers()
354 family = statp->_u._ext.ext->nsaddrs[i].sin.sin_family; in res_getservers()
362 memcpy(&set->sin, &statp->_u._ext.ext->nsaddrs[i], size); in res_getservers()
371 memcpy(&set->sin6, &statp->_u._ext.ext->nsaddrs[i], size); in res_getservers()
Dres_state_ext.h10 sockaddr_union nsaddrs[MAXNS]; member
Dres_send.cpp431 (struct sockaddr*) (void*) &statp->_u._ext.ext->nsaddrs[ns])) { in res_nsend()
463 statp->_u._ext.ext->nsaddrs[ns].sin = statp->nsaddr_list[ns]; in res_nsend()
479 if (statp->_u._ext.ext != NULL) inu = statp->_u._ext.ext->nsaddrs[0]; in res_nsend()
485 statp->_u._ext.ext->nsaddrs[ns] = statp->_u._ext.ext->nsaddrs[ns + 1]; in res_nsend()
490 if (statp->_u._ext.ext != NULL) statp->_u._ext.ext->nsaddrs[lastns] = inu; in res_nsend()
675 return (struct sockaddr*) (void*) &statp->_u._ext.ext->nsaddrs[n]; in get_nsaddr()
Dres_cache.cpp1886 if ((size_t) ai->ai_addrlen <= sizeof(statp->_u._ext.ext->nsaddrs[0])) { in _resolv_populate_res_for_net()
1888 memcpy(&statp->_u._ext.ext->nsaddrs[nserv], ai->ai_addr, ai->ai_addrlen); in _resolv_populate_res_for_net()