aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/addrconf.h
diff options
context:
space:
mode:
authorMasahide NAKAMURA <nakam@linux-ipv6.org>2006-08-23 22:16:22 -0400
committerDavid S. Miller <davem@sunset.davemloft.net>2006-09-22 18:06:48 -0400
commit65d4ed92219b28875efb52de5700da8c3dfa83e1 (patch)
treedc400aa962fa77147128dfe46da34cdbf4a7eb7a /include/net/addrconf.h
parent642ec62eee5bdc158e01029220c8a23c685778fb (diff)
[IPV6] MIP6: Add inbound interface of routing header type 2.
Add inbound interface of routing header type 2 for Mobile IPv6. Based on MIPL2 kernel patch. This patch was also written by: Ville Nuorvala <vnuorval@tcs.hut.fi> 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 'include/net/addrconf.h')
-rw-r--r--include/net/addrconf.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/net/addrconf.h b/include/net/addrconf.h
index 3d71251b3eca..5fc8627435eb 100644
--- a/include/net/addrconf.h
+++ b/include/net/addrconf.h
@@ -61,6 +61,13 @@ extern int addrconf_set_dstaddr(void __user *arg);
61extern int ipv6_chk_addr(struct in6_addr *addr, 61extern int ipv6_chk_addr(struct in6_addr *addr,
62 struct net_device *dev, 62 struct net_device *dev,
63 int strict); 63 int strict);
64/* XXX: this is a placeholder till addrconf supports */
65#ifdef CONFIG_IPV6_MIP6
66static inline int ipv6_chk_home_addr(struct in6_addr *addr)
67{
68 return 0;
69}
70#endif
64extern struct inet6_ifaddr * ipv6_get_ifaddr(struct in6_addr *addr, 71extern struct inet6_ifaddr * ipv6_get_ifaddr(struct in6_addr *addr,
65 struct net_device *dev, 72 struct net_device *dev,
66 int strict); 73 int strict);