[XFRM] STATE: Introduce care-of address.
Care-of address is carried by state as a transformation option like IPsec encryption/authentication algorithm. Based on MIPL2 kernel patch. Signed-off-by: Noriaki TAKAMIYA <takamiya@po.ntts.co.jp> Signed-off-by: Masahide NAKAMURA <nakam@linux-ipv6.org> Signed-off-by: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
This commit is contained in:

committed by
David S. Miller

parent
1b5c229987
commit
060f02a3bd
@@ -134,6 +134,9 @@ struct xfrm_state
|
||||
/* Data for encapsulator */
|
||||
struct xfrm_encap_tmpl *encap;
|
||||
|
||||
/* Data for care-of address */
|
||||
xfrm_address_t *coaddr;
|
||||
|
||||
/* IPComp needs an IPIP tunnel for handling uncompressed packets */
|
||||
struct xfrm_state *tunnel;
|
||||
|
||||
|
Reference in New Issue
Block a user