Searched refs:_ext (Results 1 – 4 of 4) sorted by relevance
157 statp->_u._ext.nscount = 0; in res_vinit()158 statp->_u._ext.ext = (res_state_ext*) malloc(sizeof(*statp->_u._ext.ext)); in res_vinit()160 if (statp->_u._ext.ext != NULL) { in res_vinit()161 memset(statp->_u._ext.ext, 0, sizeof(*statp->_u._ext.ext)); in res_vinit()162 statp->_u._ext.ext->nsaddrs[0].sin = statp->nsaddr; in res_vinit()163 strcpy(statp->_u._ext.ext->nsuffix, "ip6.arpa"); in res_vinit()164 strcpy(statp->_u._ext.ext->nsuffix2, "ip6.int"); in res_vinit()205 res_state_ext* ext = statp->_u._ext.ext; in res_setoptions()287 for (ns = 0; ns < statp->_u._ext.nscount; ns++) { in res_nclose()288 if (statp->_u._ext.nssocks[ns] != -1) { in res_nclose()[all …]
284 if (statp->_u._ext.ext == NULL) break; in res_ourserver_p()420 if (statp->_u._ext.nscount != 0) { in res_nsend()425 if (statp->_u._ext.nscount != statp->nscount) { in res_nsend()431 (struct sockaddr*) (void*) &statp->_u._ext.ext->nsaddrs[ns])) { in res_nsend()436 if (statp->_u._ext.nssocks[ns] == -1) continue; in res_nsend()438 if (getpeername(statp->_u._ext.nssocks[ns], (struct sockaddr*) (void*) &peer, in res_nsend()451 statp->_u._ext.nscount = 0; in res_nsend()458 if (statp->_u._ext.nscount == 0) { in res_nsend()460 statp->_u._ext.nstimes[ns] = RES_MAXTIME; in res_nsend()461 statp->_u._ext.nssocks[ns] = -1; in res_nsend()[all …]
117 } _ext; member
1886 if ((size_t) ai->ai_addrlen <= sizeof(statp->_u._ext.ext->nsaddrs[0])) { in _resolv_populate_res_for_net()1887 if (statp->_u._ext.ext != NULL) { 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()