Lines Matching refs:remote

126 			if (sel->remote != NULL &&
127 cmpsaddr(sel->remote, p->remote) > CMPSADDR_WILDPORT_MATCH)
180 getph1(ph1hint, local, remote, flags) in getph1() argument
182 struct sockaddr *local, *remote;
189 plog(LLV_DEBUG2, LOCATION, NULL, "remote: %s\n", saddr2str(remote));
196 plog(LLV_DEBUG2, LOCATION, NULL, "p->remote: %s\n", saddr2str(p->remote));
208 if (remote != NULL && cmpsaddr(remote, p->remote) == CMPSADDR_MISMATCH)
304 && cmpsaddr(iph1->remote, p->remote) == CMPSADDR_MATCH)
337 memcpy(&pd->remote, iph1->remote, sysdep_sa_len(iph1->remote)); in dumpph1()
390 natt_keepalive_remove (iph1->local, iph1->remote);
409 if (iph1->remote) {
410 racoon_free(iph1->remote);
411 iph1->remote = NULL;
474 if (iph1->remote == NULL) {
946 getcontacted(remote) in getcontacted() argument
947 struct sockaddr *remote; in getcontacted()
952 if (cmpsaddr(remote, p->remote) <= CMPSADDR_WILDPORT_MATCH)
963 inscontacted(remote) in inscontacted() argument
964 struct sockaddr *remote; in inscontacted()
973 new->remote = dupsaddr(remote);
974 if (new->remote == NULL) {
987 remcontacted(remote) in remcontacted() argument
988 struct sockaddr *remote; in remcontacted()
995 if (cmpsaddr(remote, p->remote) <= CMPSADDR_WILDPORT_MATCH) {
997 racoon_free(p->remote);
1020 check_recvdpkt(remote, local, rbuf) in check_recvdpkt() argument
1021 struct sockaddr *remote, *local; in check_recvdpkt()
1049 if (cmpsaddr(remote, r->remote) != CMPSADDR_MATCH)
1063 saddr2str(remote));
1074 r->local, r->remote, lcconf->count_persend);
1087 saddr2str(remote));
1098 add_recvdpkt(remote, local, sbuf, rbuf) in add_recvdpkt() argument
1099 struct sockaddr *remote, *local; in add_recvdpkt()
1123 new->remote = dupsaddr(remote);
1124 if (new->remote == NULL) {
1157 if (r->remote)
1158 racoon_free(r->remote);