Searched refs:_vcsock (Results 1 – 3 of 3) sorted by relevance
/bionic/libc/dns/resolv/ |
D | res_send.c | 762 if (statp->_vcsock >= 0 && (statp->_flags & RES_F_VC) != 0) { in send_vc() 767 if (getpeername(statp->_vcsock, in send_vc() 770 getsockopt(statp->_vcsock, SOL_SOCKET, SO_MARK, &old_mark, &mark_size) < 0 || in send_vc() 777 if (statp->_vcsock < 0 || (statp->_flags & RES_F_VC) == 0) { in send_vc() 778 if (statp->_vcsock >= 0) in send_vc() 781 statp->_vcsock = socket(nsap->sa_family, SOCK_STREAM | SOCK_CLOEXEC, 0); in send_vc() 782 if (statp->_vcsock > highestFD) { in send_vc() 786 if (statp->_vcsock < 0) { in send_vc() 802 if (setsockopt(statp->_vcsock, SOL_SOCKET, in send_vc() 810 if (random_bind(statp->_vcsock,nsap->sa_family) < 0) { in send_vc() [all …]
|
D | res_init.c | 231 statp->_vcsock = -1; in __res_vinit() 672 if (statp->_vcsock >= 0) { in res_nclose() 673 (void) close(statp->_vcsock); in res_nclose() 674 statp->_vcsock = -1; in res_nclose()
|
/bionic/libc/dns/include/ |
D | resolv_private.h | 182 int _vcsock; /* PRIVATE: for res_send VC i/o */ member
|