Home
last modified time | relevance | path

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

/bionic/libc/netbsd/resolv/
Dres_send.c762 if (statp->_vcsock >= 0 && (statp->_flags & RES_F_VC) != 0) { in send_vc()
766 if (getpeername(statp->_vcsock, in send_vc()
774 if (statp->_vcsock < 0 || (statp->_flags & RES_F_VC) == 0) { in send_vc()
775 if (statp->_vcsock >= 0) in send_vc()
778 statp->_vcsock = socket(nsap->sa_family, SOCK_STREAM, 0); in send_vc()
779 if (statp->_vcsock > highestFD) { in send_vc()
783 if (statp->_vcsock < 0) { in send_vc()
799 if (random_bind(statp->_vcsock,nsap->sa_family) < 0) { in send_vc()
806 if (connect_with_timeout(statp->_vcsock, nsap, (socklen_t)nsaplen, in send_vc()
824 if (writev(statp->_vcsock, iov, 2) != (INT16SZ + buflen)) { in send_vc()
[all …]
Dres_init.c220 statp->_vcsock = -1; in __res_vinit()
660 if (statp->_vcsock >= 0) { in res_nclose()
661 (void) close(statp->_vcsock); in res_nclose()
662 statp->_vcsock = -1; in res_nclose()
/bionic/libc/private/
Dresolv_private.h176 int _vcsock; /* PRIVATE: for res_send VC i/o */ member