Lines Matching refs:remote
72 * search remote configuration.
77 * Other: remote configuration entry.
80 getrmconf(remote)
81 struct sockaddr *remote;
91 switch (remote->sa_family) {
93 if (((struct sockaddr_in *)remote)->sin_port != IPSEC_PORT_ANY)
98 if (((struct sockaddr_in6 *)remote)->sin6_port != IPSEC_PORT_ANY)
104 "invalid family: %d\n", remote->sa_family);
108 GETNAMEINFO(remote, addr, port);
115 if ((!withport && cmpsaddrwop(remote, p->remote) == 0)
116 || (withport && cmpsaddrstrict(remote, p->remote) == 0)) {
123 if (p->remote->sa_family == AF_UNSPEC)
134 "no remote configuration found.\n");
313 if (rmconf->remote->sa_family == AF_UNSPEC)
315 return saddr2str(rmconf->remote);