Home
last modified time | relevance | path

Searched refs:dupsaddr (Results 1 – 12 of 12) sorted by relevance

/external/ipsec-tools/
Dsetup.c128 targets[0] = dupsaddr(info->ai_addr); in set_globals()
139 myaddrs[0].addr = dupsaddr(source); in set_globals()
144 myaddrs[1].addr = dupsaddr(myaddrs[0].addr); in set_globals()
272 targets[1] = dupsaddr(src); in spdadd()
458 remoteconf->remote = dupsaddr(targets[0]); in setup()
/external/ipsec-tools/src/racoon/
Dsockmisc.h68 extern struct sockaddr *dupsaddr __P((struct sockaddr *));
Dgrabmyaddr.c380 p->addr = dupsaddr(ifap->ifa_addr); in grab_myaddrs()
517 p->addr = dupsaddr(&ifr->ifr_addr); in grab_myaddrs()
813 new->addr = dupsaddr (old->addr); in dupmyaddr()
Dnattraversal.c393 if ((new_addr->src = dupsaddr(src)) == NULL) { in natt_keepalive_add()
398 if ((new_addr->dst = dupsaddr(dst)) == NULL) { in natt_keepalive_add()
Dadmin.c424 if ((remote = dupsaddr(dst)) == NULL)
432 if ((local = dupsaddr(src)) == NULL)
Disakmp.c488 iph1->remote = dupsaddr(remote);
496 iph1->local = dupsaddr(local);
1335 iph2->dst = dupsaddr(iph1->remote); /* XXX should be considered */
1340 iph2->src = dupsaddr(iph1->local); /* XXX should be considered */
2870 iph1->remote = dupsaddr(remote);
2891 iph1->local = dupsaddr(local);
3483 dupsaddr((struct sockaddr *)&spidx.dst);
3490 dupsaddr((struct sockaddr *)&spidx.src);
Dhandler.c824 new->remote = dupsaddr(remote);
957 new->remote = dupsaddr(remote);
964 new->local = dupsaddr(local);
Dsockmisc.c277 return dupsaddr((struct sockaddr *)&local); in getlocaladdr()
879 dupsaddr(src) in dupsaddr() function
Disakmp_inf.c904 iph2->dst = dupsaddr(iph1->remote);
909 iph2->src = dupsaddr(iph1->local);
Disakmp_quick.c2032 iph2->src_id = dupsaddr((struct sockaddr *)&spidx.dst);
2038 iph2->dst_id = dupsaddr((struct sockaddr *)&spidx.src);
Disakmp_cfg.c1145 iph2->dst = dupsaddr(iph1->remote);
1150 iph2->src = dupsaddr(iph1->local);
Dpfkey.c1823 iph2[n]->dst = dupsaddr(PFKEY_ADDR_SADDR(mhp[SADB_EXT_ADDRESS_DST]));
1828 iph2[n]->src = dupsaddr(PFKEY_ADDR_SADDR(mhp[SADB_EXT_ADDRESS_SRC]));