Skip to contentSkip to conversation

MIP6: Add inbound interface of routing header type 2.

PATCH In review Masahide NAKAMURA 1 participant 1 message Jul 29, 2006

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

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
index 750e250..71fc890 100644
@@ -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