From: Masahide NAKAMURA <[EMAIL PROTECTED]>
Date: Wed, 02 Aug 2006 10:42:51 +0900
> David Miller wrote:
> > If you need to provide the source address, you need to pass it in via
> > a new xfrm netlink attribute or use an existing data structure member
> > which records the source address (if any s
David Miller wrote:
> This is a userspace exported structure, therefore you cannot
> make changes to it like this, it will break the userland API.
OK.
> If you need to provide the source address, you need to pass it in via
> a new xfrm netlink attribute or use an existing data structure member
>
From: Masahide NAKAMURA <[EMAIL PROTECTED]>
Date: Sat, 29 Jul 2006 18:30:12 +0900
> @@ -263,6 +263,7 @@ struct xfrm_usersa_id {
> __u32 spi;
> __u16 family;
> __u8proto;
> + xfrm_address_t
Support source address based searching.
Mobile IPv6 will use it.
Based on MIPL2 kernel patch.
---
include/linux/xfrm.h |1 +
include/net/xfrm.h | 32
net/ipv4/xfrm4_state.c |5 +
net/ipv6/xfrm6_state.c |5 +
net/xfrm/xfrm_state.c | 38