aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv6/af_inet6.c
diff options
context:
space:
mode:
authorNoriaki TAKAMIYA <takamiya@po.ntts.co.jp>2006-08-23 23:31:11 -0400
committerDavid S. Miller <davem@sunset.davemloft.net>2006-09-22 18:06:57 -0400
commit2c8d7ca0f76103855ad1f2a930e05683b64a00eb (patch)
tree528b684361ba249d3a80a3ded057454cd9ed269d /net/ipv6/af_inet6.c
parent27637df92e25dfb45dd71a93a2f4bf9c080fa627 (diff)
[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>
Diffstat (limited to 'net/ipv6/af_inet6.c')
-rw-r--r--net/ipv6/af_inet6.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/net/ipv6/af_inet6.c b/net/ipv6/af_inet6.c
index 57ee5ddea96f..fc9c8a99bea6 100644
--- a/net/ipv6/af_inet6.c
+++ b/net/ipv6/af_inet6.c
@@ -59,6 +59,9 @@
59#ifdef CONFIG_IPV6_TUNNEL 59#ifdef CONFIG_IPV6_TUNNEL
60#include <net/ip6_tunnel.h> 60#include <net/ip6_tunnel.h>
61#endif 61#endif
62#ifdef CONFIG_IPV6_MIP6
63#include <net/mip6.h>
64#endif
62 65
63#include <asm/uaccess.h> 66#include <asm/uaccess.h>
64#include <asm/system.h> 67#include <asm/system.h>
@@ -857,6 +860,9 @@ static int __init inet6_init(void)
857 ipv6_frag_init(); 860 ipv6_frag_init();
858 ipv6_nodata_init(); 861 ipv6_nodata_init();
859 ipv6_destopt_init(); 862 ipv6_destopt_init();
863#ifdef CONFIG_IPV6_MIP6
864 mip6_init();
865#endif
860 866
861 /* Init v6 transport protocols. */ 867 /* Init v6 transport protocols. */
862 udpv6_init(); 868 udpv6_init();
@@ -920,6 +926,9 @@ static void __exit inet6_exit(void)
920 tcp6_proc_exit(); 926 tcp6_proc_exit();
921 raw6_proc_exit(); 927 raw6_proc_exit();
922#endif 928#endif
929#ifdef CONFIG_IPV6_MIP6
930 mip6_fini();
931#endif
923 /* Cleanup code parts. */ 932 /* Cleanup code parts. */
924 sit_cleanup(); 933 sit_cleanup();
925 ip6_flowlabel_cleanup(); 934 ip6_flowlabel_cleanup();