Searched refs:_vcsock (Results 1 – 3 of 3) sorted by relevance
694 if (statp->_vcsock >= 0 && (statp->_flags & RES_F_VC) != 0) { in send_vc()698 if (getpeername(statp->_vcsock, in send_vc()706 if (statp->_vcsock < 0 || (statp->_flags & RES_F_VC) == 0) { in send_vc()707 if (statp->_vcsock >= 0) in send_vc()710 statp->_vcsock = socket(nsap->sa_family, SOCK_STREAM, 0); in send_vc()711 if (statp->_vcsock > highestFD) { in send_vc()715 if (statp->_vcsock < 0) { in send_vc()731 if (random_bind(statp->_vcsock,nsap->sa_family) < 0) { in send_vc()738 if (connect(statp->_vcsock, nsap, (socklen_t)nsaplen) < 0) { in send_vc()755 if (writev(statp->_vcsock, iov, 2) != (INT16SZ + buflen)) { in send_vc()[all …]
266 statp->_vcsock = -1; in __res_vinit()738 if (statp->_vcsock >= 0) { in res_nclose()739 (void) close(statp->_vcsock); in res_nclose()740 statp->_vcsock = -1; in res_nclose()
174 int _vcsock; /* PRIVATE: for res_send VC i/o */ member