Home
last modified time | relevance | path

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

/bionic/libc/netbsd/resolv/
Dres_send.c695 if (statp->_vcsock >= 0 && (statp->_flags & RES_F_VC) != 0) { in send_vc()
699 if (getpeername(statp->_vcsock, in send_vc()
707 if (statp->_vcsock < 0 || (statp->_flags & RES_F_VC) == 0) { in send_vc()
708 if (statp->_vcsock >= 0) in send_vc()
711 statp->_vcsock = socket(nsap->sa_family, SOCK_STREAM, 0); in send_vc()
712 if (statp->_vcsock > highestFD) { in send_vc()
716 if (statp->_vcsock < 0) { in send_vc()
732 if (random_bind(statp->_vcsock,nsap->sa_family) < 0) { in send_vc()
739 if (connect(statp->_vcsock, nsap, (socklen_t)nsaplen) < 0) { in send_vc()
756 if (writev(statp->_vcsock, iov, 2) != (INT16SZ + buflen)) { in send_vc()
[all …]
Dres_init.c264 statp->_vcsock = -1; in __res_vinit()
736 if (statp->_vcsock >= 0) { in res_nclose()
737 (void) close(statp->_vcsock); in res_nclose()
738 statp->_vcsock = -1; in res_nclose()
/bionic/libc/private/
Dresolv_private.h174 int _vcsock; /* PRIVATE: for res_send VC i/o */ member