Home
last modified time | relevance | path

Searched refs:nssocks (Results 1 – 3 of 3) sorted by relevance

/bionic/libc/dns/resolv/
Dres_send.c418 if (EXT(statp).nssocks[ns] == -1) in res_nsend()
421 if (getpeername(EXT(statp).nssocks[ns], in res_nsend()
445 EXT(statp).nssocks[ns] = -1; in res_nsend()
469 fd = EXT(statp).nssocks[0]; in res_nsend()
476 EXT(statp).nssocks[ns] = EXT(statp).nssocks[ns + 1]; in res_nsend()
482 EXT(statp).nssocks[lastns] = fd; in res_nsend()
1099 if (EXT(statp).nssocks[ns] == -1) { in send_dg()
1100 EXT(statp).nssocks[ns] = socket(nsap->sa_family, SOCK_DGRAM | SOCK_CLOEXEC, 0); in send_dg()
1101 if (EXT(statp).nssocks[ns] > highestFD) { in send_dg()
1105 if (EXT(statp).nssocks[ns] < 0) { in send_dg()
[all …]
Dres_init.c638 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()
/bionic/libc/dns/include/
Dresolv_private.h196 int nssocks[MAXNS]; member