Home
last modified time | relevance | path

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

/bionic/libc/dns/resolv/
Dres_send.c434 if (EXT(statp).nssocks[ns] == -1) in res_nsend()
437 if (getpeername(EXT(statp).nssocks[ns], in res_nsend()
460 EXT(statp).nssocks[ns] = -1; in res_nsend()
484 fd = EXT(statp).nssocks[0]; in res_nsend()
491 EXT(statp).nssocks[ns] = EXT(statp).nssocks[ns + 1]; in res_nsend()
497 EXT(statp).nssocks[lastns] = fd; in res_nsend()
1063 if (EXT(statp).nssocks[ns] == -1) { in send_dg()
1064 EXT(statp).nssocks[ns] = socket(nsap->sa_family, SOCK_DGRAM | SOCK_CLOEXEC, 0); in send_dg()
1065 if (EXT(statp).nssocks[ns] > highestFD) { in send_dg()
1069 if (EXT(statp).nssocks[ns] < 0) { in send_dg()
[all …]
Dres_init.c637 if (statp->_u._ext.nssocks[ns] != -1) { in res_nclose()
638 (void) close(statp->_u._ext.nssocks[ns]); in res_nclose()
639 statp->_u._ext.nssocks[ns] = -1; in res_nclose()
/bionic/libc/dns/include/
Dresolv_private.h198 int nssocks[MAXNS]; member