Lines Matching refs:nsap
426 struct sockaddr *nsap;
428 nsap = get_nsaddr(statp, ns);
429 nsaplen = get_salen(nsap);
439 act = (*statp->qhook)(&nsap, &buf, &buflen,
467 getnameinfo(nsap, nsaplen, abuf, sizeof(abuf),
525 act = (*statp->rhook)(nsap, buf, buflen,
626 struct sockaddr *nsap;
637 nsap = get_nsaddr(statp, ns);
638 nsaplen = get_salen(nsap);
651 !sock_eq((struct sockaddr *)&peer, nsap)) {
661 statp->_vcsock = _socket(nsap->sa_family, SOCK_STREAM |
696 if (_connect(statp->_vcsock, nsap, nsaplen) < 0) {
698 Aerror(statp, stderr, "connect/vc", errno, nsap,
832 const struct sockaddr *nsap;
849 nsap = get_nsaddr(statp, ns);
850 nsaplen = get_salen(nsap);
852 EXT(statp).nssocks[ns] = _socket(nsap->sa_family,
895 _connect(EXT(statp).nssocks[ns], nsap, nsaplen) < 0) {
896 Aerror(statp, stderr, "connect(dg)", errno, nsap,
909 (const char*)buf, buflen, 0, nsap, nsaplen) != buflen) {
910 Aerror(statp, stderr, "sendto", errno, nsap, nsaplen);
920 if (_sendto(s, (const char*)buf, buflen, 0, nsap, nsaplen) != buflen)
922 Aerror(statp, stderr, "sendto", errno, nsap, nsaplen);