Home | History | Annotate | Download | only in resolv

Lines Matching defs:nsap

465 		struct sockaddr *nsap;
467 nsap = get_nsaddr(statp, (size_t)ns);
468 nsaplen = get_salen(nsap);
478 act = (*statp->qhook)(&nsap, &buf, &buflen,
506 getnameinfo(nsap, nsaplen, abuf,
564 act = (*statp->rhook)(nsap, buf, buflen,
665 struct sockaddr *nsap;
677 nsap = get_nsaddr(statp, (size_t)ns);
678 nsaplen = get_salen(nsap);
691 !sock_eq((struct sockaddr *)(void *)&peer, nsap)) {
701 statp->_vcsock = socket(nsap->sa_family, SOCK_STREAM
739 if (connect(statp->_vcsock, nsap, nsaplen) < 0) {
741 Aerror(statp, stderr, "connect/vc", errno, nsap,
874 const struct sockaddr *nsap;
892 nsap = get_nsaddr(statp, (size_t)ns);
893 nsaplen = get_salen(nsap);
895 EXT(statp).nssocks[ns] = socket(nsap->sa_family, SOCK_DGRAM
941 connect(EXT(statp).nssocks[ns], nsap, nsaplen) < 0) {
942 Aerror(statp, stderr, "connect(dg)", errno, nsap,
954 if (sendto(s, buf, buflen, 0, nsap, nsaplen) !=
956 Aerror(statp, stderr, "sendto", errno, nsap, nsaplen);
966 if (sendto(s, buf, buflen, 0, nsap, nsaplen) != (ssize_t)buflen)
968 Aerror(statp, stderr, "sendto", errno, nsap, nsaplen);