Lines Matching refs:remote
97 getrmconf_strict(remote, allow_anon) in getrmconf_strict() argument
98 struct sockaddr *remote; in getrmconf_strict()
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)
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);
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()