• Home
  • Raw
  • Download

Lines Matching refs:_ext

235 	statp->_u._ext.nscount = 0;  in __res_vinit()
236 statp->_u._ext.ext = malloc(sizeof(*statp->_u._ext.ext)); in __res_vinit()
237 if (statp->_u._ext.ext != NULL) { in __res_vinit()
238 memset(statp->_u._ext.ext, 0, sizeof(*statp->_u._ext.ext)); in __res_vinit()
239 statp->_u._ext.ext->nsaddrs[0].sin = statp->nsaddr; in __res_vinit()
240 strcpy(statp->_u._ext.ext->nsuffix, "ip6.arpa"); in __res_vinit()
241 strcpy(statp->_u._ext.ext->nsuffix2, "ip6.int"); in __res_vinit()
356 sizeof(statp->_u._ext.ext->nsaddrs[0]); in __res_vinit()
370 if (statp->_u._ext.ext != NULL) { in __res_vinit()
371 memcpy(&statp->_u._ext.ext->nsaddrs[nserv], in __res_vinit()
496 struct __res_state_ext *ext = statp->_u._ext.ext; in res_setoptions()
677 for (ns = 0; ns < statp->_u._ext.nscount; ns++) { in res_nclose()
678 if (statp->_u._ext.nssocks[ns] != -1) { in res_nclose()
679 (void) close(statp->_u._ext.nssocks[ns]); in res_nclose()
680 statp->_u._ext.nssocks[ns] = -1; in res_nclose()
689 if (statp->_u._ext.ext != NULL) in res_ndestroy()
690 free(statp->_u._ext.ext); in res_ndestroy()
692 statp->_u._ext.ext = NULL; in res_ndestroy()
698 if (statp->_u._ext.ext) in res_get_nibblesuffix()
699 return (statp->_u._ext.ext->nsuffix); in res_get_nibblesuffix()
706 if (statp->_u._ext.ext) in res_get_nibblesuffix2()
707 return (statp->_u._ext.ext->nsuffix2); in res_get_nibblesuffix2()
721 statp->_u._ext.nscount = 0; in res_setservers()
728 if (statp->_u._ext.ext) in res_setservers()
729 memcpy(&statp->_u._ext.ext->nsaddrs[nserv], in res_setservers()
742 if (statp->_u._ext.ext) in res_setservers()
743 memcpy(&statp->_u._ext.ext->nsaddrs[nserv], in res_setservers()
771 if (statp->_u._ext.ext) in res_getservers()
772 family = statp->_u._ext.ext->nsaddrs[i].sin.sin_family; in res_getservers()
779 if (statp->_u._ext.ext) in res_getservers()
781 &statp->_u._ext.ext->nsaddrs[i], in res_getservers()
791 if (statp->_u._ext.ext) in res_getservers()
793 &statp->_u._ext.ext->nsaddrs[i], in res_getservers()