Searched refs:nssocks (Results 1 – 3 of 3) sorted by relevance
409 if (EXT(statp).nssocks[ns] == -1) in res_nsend()412 if (getpeername(EXT(statp).nssocks[ns], in res_nsend()436 EXT(statp).nssocks[ns] = -1; in res_nsend()460 fd = EXT(statp).nssocks[0]; in res_nsend()467 EXT(statp).nssocks[ns] = EXT(statp).nssocks[ns + 1]; in res_nsend()473 EXT(statp).nssocks[lastns] = fd; in res_nsend()1088 if (EXT(statp).nssocks[ns] == -1) { in send_dg()1089 EXT(statp).nssocks[ns] = socket(nsap->sa_family, SOCK_DGRAM | SOCK_CLOEXEC, 0); in send_dg()1090 if (EXT(statp).nssocks[ns] < 0) { in send_dg()1106 fchown(EXT(statp).nssocks[ns], AID_DNS, -1); in send_dg()[all …]
638 if (statp->_u._ext.nssocks[ns] != -1) { in res_nclose()639 (void) close(statp->_u._ext.nssocks[ns]); in res_nclose()640 statp->_u._ext.nssocks[ns] = -1; in res_nclose()
186 int nssocks[MAXNS]; member