Searched refs:_vcsock (Results 1 – 3 of 3) sorted by relevance
/aosp12/bionic/libc/dns/resolv/ |
H A D | res_send.c | 787 if (statp->_vcsock >= 0 && (statp->_flags & RES_F_VC) != 0) { in send_vc() 792 if (getpeername(statp->_vcsock, in send_vc() 802 if (statp->_vcsock < 0 || (statp->_flags & RES_F_VC) == 0) { in send_vc() 803 if (statp->_vcsock >= 0) in send_vc() 807 if (statp->_vcsock < 0) { in send_vc() 822 fchown(statp->_vcsock, AID_DNS, -1); in send_vc() 824 if (setsockopt(statp->_vcsock, SOL_SOCKET, in send_vc() 832 if (random_bind(statp->_vcsock,nsap->sa_family) < 0) { in send_vc() 866 if (writev(statp->_vcsock, iov, 2) != (INT16SZ + buflen)) { in send_vc() 878 while ((n = read(statp->_vcsock, (char *)cp, (size_t)len)) > 0) { in send_vc() [all …]
|
H A D | res_init.c | 230 statp->_vcsock = -1; in __res_vinit() 632 if (statp->_vcsock >= 0) { in res_nclose() 633 (void) close(statp->_vcsock); in res_nclose() 634 statp->_vcsock = -1; in res_nclose()
|
/aosp12/bionic/libc/dns/include/ |
H A D | resolv_private.h | 177 int _vcsock; /* PRIVATE: for res_send VC i/o */ member
|