copyhost
struct ipsec_addr_wrap *copyhost(const struct ipsec_addr_wrap *);
r->src = copyhost(rule->src);
r->dst = copyhost(rule->dst);
r->local = copyhost(rule->local);
r->peer = copyhost(rule->peer);
reverse->src = copyhost(rule->dst);
reverse->dst = copyhost(rule->src);
r->dst = copyhost(dst);
r->dst2 = copyhost(dst2);
r->local = copyhost(peers->src);
r->peer = copyhost(peers->dst);
r->peer = copyhost(r->src);
r->peer = copyhost(r->dst);
r->src = copyhost(src);
r->dst = copyhost(dst);
reverse->src = copyhost(rule->dst);
reverse->dst = copyhost(rule->src);
reverse->local = copyhost(rule->local);
reverse->peer = copyhost(rule->peer);