]> rtime.felk.cvut.cz Git - lisovros/iproute2_canprio.git/commit
XFRM: Mobile IPv6 route optimization support.
authorMasahide NAKAMURA <nakam@linux-ipv6.org>
Tue, 5 Dec 2006 10:15:47 +0000 (19:15 +0900)
committerStephen Hemminger <shemminger@osdl.org>
Tue, 5 Dec 2006 18:03:32 +0000 (10:03 -0800)
commit7ea4f5d33d27b23a3127b0b6ec46d0b4821d9431
tree9faeef97144071165e47c3af880b02ca21c1a905
parent972938e9e685156b97413d17ad8993de61fdd1b9
XFRM: Mobile IPv6 route optimization support.

To support Mobile IPv6 RO, the following extension is included:
o Use XFRM_MODE_XXX macro instead of magic number
o New attribute option for all state: source address for
  deleting or getting message
o New attribute options for RO: care-of address, last-used timestamp
  and wild-receive flag

Note:
Flush command like `ip xfrm state flush` is to remove all XFRM state.
It has been effected for IPsec SAD but with this patch it flushes both
IPsec SAD and Mobile IPv6 RO states.
To make only IPsec SA flush, it is recommanded to specify each XFRM
protocol like below:
 `ip x s f proto esp ; ip x s f proto ah ; ip x s f proto comp`

Signed-off-by: Masahide NAKAMURA <nakam@linux-ipv6.org>
Signed-off-by: Stephen Hemminger <shemminger@osdl.org>
ip/ipxfrm.c
ip/xfrm.h
ip/xfrm_policy.c
ip/xfrm_state.c