Searched refs:nsaddrs (Results 1 – 4 of 4) sorted by relevance
/system/netd/resolv/ |
D | res_init.cpp | 162 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()
|
D | res_state_ext.h | 10 sockaddr_union nsaddrs[MAXNS]; member
|
D | res_send.cpp | 431 (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()
|
D | res_cache.cpp | 1886 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()
|