[IPV6] MIP6: Add routing header type 2 transformation.

Add routing header type 2 transformation for Mobile IPv6.
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>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
Noriaki TAKAMIYA
2006-08-23 20:31:11 -07:00
committed by David S. Miller
parent 27637df92e
commit 2c8d7ca0f7
4 changed files with 223 additions and 0 deletions

View File

@@ -59,6 +59,9 @@
#ifdef CONFIG_IPV6_TUNNEL
#include <net/ip6_tunnel.h>
#endif
#ifdef CONFIG_IPV6_MIP6
#include <net/mip6.h>
#endif
#include <asm/uaccess.h>
#include <asm/system.h>
@@ -857,6 +860,9 @@ static int __init inet6_init(void)
ipv6_frag_init();
ipv6_nodata_init();
ipv6_destopt_init();
#ifdef CONFIG_IPV6_MIP6
mip6_init();
#endif
/* Init v6 transport protocols. */
udpv6_init();
@@ -919,6 +925,9 @@ static void __exit inet6_exit(void)
udp6_proc_exit();
tcp6_proc_exit();
raw6_proc_exit();
#endif
#ifdef CONFIG_IPV6_MIP6
mip6_fini();
#endif
/* Cleanup code parts. */
sit_cleanup();