Searched refs:dupsaddr (Results 1 – 12 of 12) sorted by relevance
128 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()
68 extern struct sockaddr *dupsaddr __P((struct sockaddr *));
380 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()
393 if ((new_addr->src = dupsaddr(src)) == NULL) { in natt_keepalive_add()398 if ((new_addr->dst = dupsaddr(dst)) == NULL) { in natt_keepalive_add()
424 if ((remote = dupsaddr(dst)) == NULL)432 if ((local = dupsaddr(src)) == NULL)
488 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);
824 new->remote = dupsaddr(remote);957 new->remote = dupsaddr(remote);964 new->local = dupsaddr(local);
277 return dupsaddr((struct sockaddr *)&local); in getlocaladdr()879 dupsaddr(src) in dupsaddr() function
904 iph2->dst = dupsaddr(iph1->remote);909 iph2->src = dupsaddr(iph1->local);
2032 iph2->src_id = dupsaddr((struct sockaddr *)&spidx.dst);2038 iph2->dst_id = dupsaddr((struct sockaddr *)&spidx.src);
1145 iph2->dst = dupsaddr(iph1->remote);1150 iph2->src = dupsaddr(iph1->local);
1823 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]));