Searched refs:nsap (Results 1 – 1 of 1) sorted by relevance
/system/netd/resolv/ |
D | res_send.cpp | 130 static int connect_with_timeout(int sock, const struct sockaddr* nsap, socklen_t salen, 525 struct sockaddr* nsap; in res_nsend() local 530 nsap = get_nsaddr(statp, (size_t) ns); in res_nsend() 531 nsaplen = get_salen(nsap); in res_nsend() 557 if (getnameinfo(nsap, (socklen_t)nsaplen, abuf, sizeof(abuf), NULL, 0, niflags) == 0) in res_nsend() 713 struct sockaddr* nsap; in send_vc() local 721 nsap = get_nsaddr(statp, (size_t) ns); in send_vc() 722 nsaplen = get_salen(nsap); in send_vc() 737 !sock_eq((struct sockaddr*) (void*) &peer, nsap) || in send_vc() 748 statp->_vcsock = socket(nsap->sa_family, SOCK_STREAM | SOCK_CLOEXEC, 0); in send_vc() [all …]
|