Lines Matching defs:nsap
425 struct sockaddr *nsap;
427 nsap = get_nsaddr(statp, ns);
428 nsaplen = get_salen(nsap);
438 act = (*statp->qhook)(&nsap, &buf, &buflen,
466 getnameinfo(nsap, nsaplen, abuf, sizeof(abuf),
524 act = (*statp->rhook)(nsap, buf, buflen,
628 struct sockaddr *nsap;
639 nsap = get_nsaddr(statp, ns);
640 nsaplen = get_salen(nsap);
653 !sock_eq((struct sockaddr *)&peer, nsap)) {
663 statp->_vcsock = _socket(nsap->sa_family, SOCK_STREAM |
698 if (_connect(statp->_vcsock, nsap, nsaplen) < 0) {
700 Aerror(statp, stderr, "connect/vc", errno, nsap,
834 const struct sockaddr *nsap;
851 nsap = get_nsaddr(statp, ns);
852 nsaplen = get_salen(nsap);
854 EXT(statp).nssocks[ns] = _socket(nsap->sa_family,
897 _connect(EXT(statp).nssocks[ns], nsap, nsaplen) < 0) {
898 Aerror(statp, stderr, "connect(dg)", errno, nsap,
911 (const char*)buf, buflen, 0, nsap, nsaplen) != buflen) {
912 Aerror(statp, stderr, "sendto", errno, nsap, nsaplen);
922 if (_sendto(s, (const char*)buf, buflen, 0, nsap, nsaplen) != buflen)
924 Aerror(statp, stderr, "sendto", errno, nsap, nsaplen);