Re: [PATCH 8/23] [PATCH] [XFRM] STATE: Add a hook to obtain local/remote outbound address.

2006-07-30 Thread James Morris
On Sat, 29 Jul 2006, Masahide NAKAMURA wrote: + remote = (xfrm[i]-type-remote_addr) ? + (struct in6_addr*)xfrm[i]-type-remote_addr(xfrm[i], (xfrm_address_t *)remote): + (struct in6_addr*)xfrm[i]-id.daddr; +

[PATCH 8/23] [PATCH] [XFRM] STATE: Add a hook to obtain local/remote outbound address.

2006-07-29 Thread Masahide NAKAMURA
Outbound transformation replaces both source and destination address with state's end-point addresses at the same time when IPsec tunnel mode. It is also required to change them for Mobile IPv6 route optimization, but we should care about the following differences: - changing result is not