Lines Matching defs:remote
689 union sockaddr_union local, remote;
698 l = sizeof(remote);
699 if (getpeername(fd, &remote.sa, &l) < 0)
707 b = ntohl(remote.in.sin_addr.s_addr);
715 ntohs(remote.in.sin_port)) < 0)
727 memcmp(&remote.in6.sin6_addr, ipv4_prefix, sizeof(ipv4_prefix)) == 0) {
730 *b = remote.in6.sin6_addr.s6_addr+12;
738 ntohs(remote.in6.sin6_port)) < 0)
748 inet_ntop(AF_INET6, &remote.in6.sin6_addr, b, sizeof(b)),
749 ntohs(remote.in6.sin6_port)) < 0)