Home
last modified time | relevance | path

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

/titanic_50/usr/src/lib/libresolv2/common/resolv/
H A Dres_send.c631 if (statp->_vcsock >= 0 && (statp->_flags & RES_F_VC) != 0) { in send_vc()
635 if (getpeername(statp->_vcsock, in send_vc()
643 if (statp->_vcsock < 0 || (statp->_flags & RES_F_VC) == 0) { in send_vc()
644 if (statp->_vcsock >= 0) in send_vc()
647 statp->_vcsock = socket(nsap->sa_family, SOCK_STREAM, 0); in send_vc()
648 if (statp->_vcsock > highestFD) { in send_vc()
652 if (statp->_vcsock < 0) { in send_vc()
675 (void)setsockopt(statp->_vcsock, SOL_SOCKET, SO_NOSIGPIPE, &on, in send_vc()
696 (void)setsockopt(statp->_vcsock, IPPROTO_TCP, in send_vc()
702 if (connect(statp->_vcsock, nsap, nsaplen) < 0) { in send_vc()
[all …]
H A Dres_init.c238 statp->_vcsock = -1; in __res_vinit()
825 if (statp->_vcsock >= 0) { in res_nclose()
826 (void) close(statp->_vcsock); in res_nclose()
827 statp->_vcsock = -1; in res_nclose()
/titanic_50/usr/src/head/
H A Dresolv.h214 int _vcsock; /* PRIVATE: for res_send VC i/o */ member