Home
last modified time | relevance | path

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

/external/ipsec-tools/
Dsetup.c107 targets[0] = dupsaddr(info->ai_addr); in set_globals()
118 myaddrs[0].addr = dupsaddr(source); in set_globals()
123 myaddrs[1].addr = dupsaddr(myaddrs[0].addr); in set_globals()
257 targets[1] = dupsaddr(src); in spdadd()
440 remoteconf->remote = dupsaddr(targets[0]); in setup()
/external/ipsec-tools/src/racoon/
Dsockmisc.h68 extern struct sockaddr *dupsaddr __P((struct sockaddr *));
Dgrabmyaddr.c376 p->addr = dupsaddr(ifap->ifa_addr); in grab_myaddrs()
504 p->addr = dupsaddr(&ifr->ifr_addr); in grab_myaddrs()
792 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.c484 iph1->remote = dupsaddr(remote);
492 iph1->local = dupsaddr(local);
1333 iph2->dst = dupsaddr(iph1->remote); /* XXX should be considered */
1338 iph2->src = dupsaddr(iph1->local); /* XXX should be considered */
2865 iph1->remote = dupsaddr(remote);
2886 iph1->local = dupsaddr(local);
3473 dupsaddr((struct sockaddr *)&spidx.dst);
3480 dupsaddr((struct sockaddr *)&spidx.src);
Dhandler.c824 new->remote = dupsaddr(remote);
957 new->remote = dupsaddr(remote);
964 new->local = dupsaddr(local);
Dsockmisc.c269 return dupsaddr((struct sockaddr *)&local); in getlocaladdr()
864 dupsaddr(src) in dupsaddr() function
Disakmp_inf.c904 iph2->dst = dupsaddr(iph1->remote);
909 iph2->src = dupsaddr(iph1->local);
Disakmp_cfg.c1145 iph2->dst = dupsaddr(iph1->remote);
1150 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);
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]));