Lines Matching refs:remote
145 getph1byaddr(local, remote, established) in getph1byaddr() argument
146 struct sockaddr *local, *remote; in getph1byaddr()
153 plog(LLV_DEBUG2, LOCATION, NULL, "remote: %s\n", saddr2str(remote));
159 plog(LLV_DEBUG2, LOCATION, NULL, "p->remote: %s\n", saddr2str(p->remote));
166 && CMPSADDR(remote, p->remote) == 0){
178 getph1byaddrwop(local, remote) in getph1byaddrwop() argument
179 struct sockaddr *local, *remote; in getph1byaddrwop()
187 && cmpsaddrwop(remote, p->remote) == 0)
200 getph1bydstaddrwop(remote) in getph1bydstaddrwop() argument
201 struct sockaddr *remote; in getph1bydstaddrwop()
208 if (cmpsaddrwop(remote, p->remote) == 0)
242 memcpy(&pd->remote, iph1->remote, sysdep_sa_len(iph1->remote)); in dumpph1()
293 EVT_PUSH(iph1->local, iph1->remote, EVTT_PHASE1_DOWN, NULL);
297 natt_keepalive_remove (iph1->local, iph1->remote);
314 if (iph1->remote) {
315 racoon_free(iph1->remote);
316 iph1->remote = NULL;
389 if (iph1->remote == NULL) {
797 getcontacted(remote) in getcontacted() argument
798 struct sockaddr *remote; in getcontacted()
803 if (cmpsaddrstrict(remote, p->remote) == 0)
814 inscontacted(remote) in inscontacted() argument
815 struct sockaddr *remote; in inscontacted()
824 new->remote = dupsaddr(remote);
825 if (new->remote == NULL) {
853 check_recvdpkt(remote, local, rbuf) in check_recvdpkt() argument
854 struct sockaddr *remote, *local; in check_recvdpkt()
885 if (cmpsaddrstrict(remote, r->remote) != 0)
897 saddr2str(remote));
908 r->local, r->remote, lcconf->count_persend);
921 saddr2str(remote));
932 add_recvdpkt(remote, local, sbuf, rbuf) in add_recvdpkt() argument
933 struct sockaddr *remote, *local; in add_recvdpkt()
957 new->remote = dupsaddr(remote);
958 if (new->remote == NULL) {
992 if (r->remote)
993 racoon_free(r->remote);
1329 newrmconf=getrmconf(p->remote); in revalidate_ph1tree_rmconf()