Home | History | Annotate | Download | only in resolv

Lines Matching refs:_vcsock

762 	if (statp->_vcsock >= 0 && (statp->_flags & RES_F_VC) != 0) {
767 if (getpeername(statp->_vcsock,
770 getsockopt(statp->_vcsock, SOL_SOCKET, SO_MARK, &old_mark, &mark_size) < 0 ||
777 if (statp->_vcsock < 0 || (statp->_flags & RES_F_VC) == 0) {
778 if (statp->_vcsock >= 0)
781 statp->_vcsock = socket(nsap->sa_family, SOCK_STREAM, 0);
782 if (statp->_vcsock > highestFD) {
786 if (statp->_vcsock < 0) {
802 if (setsockopt(statp->_vcsock, SOL_SOCKET,
810 if (random_bind(statp->_vcsock,nsap->sa_family) < 0) {
817 if (connect_with_timeout(statp->_vcsock, nsap, (socklen_t)nsaplen,
835 if (writev(statp->_vcsock, iov, 2) != (INT16SZ + buflen)) {
847 while ((n = read(statp->_vcsock, (char *)cp, (size_t)len)) > 0) {
893 while (len != 0 && (n = read(statp->_vcsock, (char *)cp, (size_t)len)) > 0){
912 n = read(statp->_vcsock, junk,