Lines Matching full:remote
89 * search remote configuration.
94 * Other: remote configuration entry.
97 getrmconf_strict(remote, allow_anon) in getrmconf_strict() argument
98 struct sockaddr *remote; in getrmconf_strict()
111 * We never have ports set in our remote configurations, but when
114 * If we do this port check here, we don't find the remote config.
116 * In an ideal world, we would be able to have remote conf with
119 if (remote->sa_family != AF_UNSPEC &&
120 extract_port(remote) != IPSEC_PORT_ANY)
124 if (remote->sa_family == AF_UNSPEC)
127 GETNAMEINFO(remote, addr, port);
135 if ((remote->sa_family == AF_UNSPEC
136 && remote->sa_family == p->remote->sa_family)
137 || (!withport && cmpsaddrwop(remote, p->remote) == 0)
138 || (withport && cmpsaddrstrict(remote, p->remote) == 0)) {
145 if (p->remote->sa_family == AF_UNSPEC)
156 "no remote configuration found.\n");
162 getrmconf(remote) in getrmconf() argument
163 struct sockaddr *remote; in getrmconf()
165 return getrmconf_strict(remote, 1);
228 copyrmconf(remote) in copyrmconf() argument
229 struct sockaddr *remote; in copyrmconf()
233 old = getrmconf_strict (remote, 0);
236 "Remote configuration for '%s' not found!\n",
237 saddr2str (remote));
516 pbuf += sprintf(pbuf, "remote %s", saddr2str(p->remote)); in dump_rmconf_single()
519 saddr2str(p->inherited_from->remote)); in dump_rmconf_single()
591 saddr2str(prop->rmconf->remote)); in dump_rmconf_single()