MIP6: Add inbound interface of routing header type 2.
Subsystems (3)
PATCH 4/20 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.
--- include/net/addrconf.h | 7 +++++ net/ipv6/exthdrs.c | 71 +++++++++++++++++++++++++++++++++++++++++++----- 2 files changed, 70 insertions(+), 8 deletions(-)
include/net/addrconf.h +7 -0
@@ -62,6 +62,13 @@ extern int addrconf_set_dstaddr(void _extern int ipv6_chk_addr (struct in6_addr *addr,struct net_device *dev,int strict); +/* XXX: this is a placeholder till addrconf supports */ +#ifdef CONFIG_IPV6_MIP6 +static inline int ipv6_chk_home_addr (struct in6_addr *addr) +{ +return 0 ; +} +#endif extern struct inet6_ifaddr *ipv6_get_ifaddr (struct in6_addr *addr,struct net_device *dev,int strict);
net/ipv6/exthdrs.c +63 -8
105 lines not on this page · raw message
Signature · 1 line
1.4.1