diff options
author | Noriaki TAKAMIYA <takamiya@po.ntts.co.jp> | 2006-09-22 17:45:56 -0400 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2006-09-22 18:20:29 -0400 |
commit | 3b9f9a1c3903b64c38505f9fed3bb11e48dbc931 (patch) | |
tree | 0a508ef9ea7f9795d28333204c0a40c843b81e50 /include/net | |
parent | 55ebaef1d5db9c1c76ba01a87fd986db5dee550d (diff) |
[IPV6] ADDRCONF: Mobile IPv6 Home Address support.
IFA_F_HOMEADDRESS is introduced for Mobile IPv6 Home Addresses on
Mobile Node.
The IFA_F_HOMEADDRESS flag should be set for Mobile IPv6 Home
Addresses for 2 purposes. 1) We need to check this on receipt of
Type 2 Routing Header (RFC3775 Secion 6.4), 2) We prefer Home
Address(es) in source address selection (RFC3484 Section 5 Rule 4).
Signed-off-by: Noriaki TAKAMIYA <takamiya@po.ntts.co.jp>
Signed-off-by: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net')
-rw-r--r-- | include/net/addrconf.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/include/net/addrconf.h b/include/net/addrconf.h index aa2ed8f0a9dd..44f1b673f916 100644 --- a/include/net/addrconf.h +++ b/include/net/addrconf.h | |||
@@ -61,12 +61,8 @@ extern int addrconf_set_dstaddr(void __user *arg); | |||
61 | extern int ipv6_chk_addr(struct in6_addr *addr, | 61 | extern 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 | 64 | #ifdef CONFIG_IPV6_MIP6 |
66 | static inline int ipv6_chk_home_addr(struct in6_addr *addr) | 65 | extern int ipv6_chk_home_addr(struct in6_addr *addr); |
67 | { | ||
68 | return 0; | ||
69 | } | ||
70 | #endif | 66 | #endif |
71 | extern struct inet6_ifaddr * ipv6_get_ifaddr(struct in6_addr *addr, | 67 | extern struct inet6_ifaddr * ipv6_get_ifaddr(struct in6_addr *addr, |
72 | struct net_device *dev, | 68 | struct net_device *dev, |