Home
last modified time | relevance | path

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

/freebsd-14.2/lib/libc/resolv/
H A Dres_send.c644 if (statp->_vcsock >= 0 && (statp->_flags & RES_F_VC) != 0) { in send_vc()
648 if (_getpeername(statp->_vcsock, in send_vc()
656 if (statp->_vcsock < 0 || (statp->_flags & RES_F_VC) == 0) { in send_vc()
657 if (statp->_vcsock >= 0) in send_vc()
660 statp->_vcsock = _socket(nsap->sa_family, SOCK_STREAM | in send_vc()
663 if (statp->_vcsock > highestFD) { in send_vc()
668 if (statp->_vcsock < 0) { in send_vc()
695 if (_connect(statp->_vcsock, nsap, nsaplen) < 0) { in send_vc()
712 if (_writev(statp->_vcsock, iov, 2) != (INT16SZ + buflen)) { in send_vc()
771 (n = _read(statp->_vcsock, (char *)cp, (int)len)) > 0) { in send_vc()
[all …]
H A Dres_init.c221 statp->_vcsock = -1; in __res_vinit()
801 if (statp->_vcsock >= 0) { in res_nclose()
802 (void) _close(statp->_vcsock); in res_nclose()
803 statp->_vcsock = -1; in res_nclose()
/freebsd-14.2/include/
H A Dresolv.h179 int _vcsock; /*%< PRIVATE: for res_send VC i/o */ member