Lines Matching refs:nsaplen
526 int nsaplen; in res_nsend() local
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()
714 int nsaplen; in send_vc() local
722 nsaplen = get_salen(nsap); in send_vc()
774 Aerror(statp, "bind/vc", errno, nsap, nsaplen); in send_vc()
778 if (connect_with_timeout(statp->_vcsock, nsap, (socklen_t) nsaplen, in send_vc()
781 Aerror(statp, "connect/vc", errno, nsap, nsaplen); in send_vc()
981 int nsaplen; in send_dg() local
988 nsaplen = get_salen(nsap); in send_dg()
1026 Aerror(statp, "bind(dg)", errno, nsap, nsaplen); in send_dg()
1030 if (connect(statp->_u._ext.nssocks[ns], nsap, (socklen_t) nsaplen) < 0) { in send_dg()
1031 Aerror(statp, "connect(dg)", errno, nsap, nsaplen); in send_dg()
1046 if (sendto(s, (const char*) buf, buflen, 0, nsap, nsaplen) != buflen) { in send_dg()
1047 Aerror(statp, "sendto", errno, nsap, nsaplen); in send_dg()