patch-2.1.79 linux/include/net/ip6_route.h

Next file: linux/include/net/ip_fib.h
Previous file: linux/include/net/ip6_fib.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.78/linux/include/net/ip6_route.h linux/include/net/ip6_route.h
@@ -55,6 +55,9 @@
 extern int			ip6_rt_addr_add(struct in6_addr *addr,
 						struct device *dev);
 
+extern int			ip6_rt_addr_del(struct in6_addr *addr,
+						struct device *dev);
+
 extern void			rt6_sndmsg(int type, struct in6_addr *dst,
 					   struct in6_addr *src,
 					   struct in6_addr *gw,
@@ -87,7 +90,13 @@
 						   struct device *dev,
 						   int pmtu);
 
-extern struct rt6_info *	ip6_rt_copy(struct rt6_info *rt);
+struct nlmsghdr;
+struct netlink_callback;
+extern int inet6_dump_fib(struct sk_buff *skb, struct netlink_callback *cb);
+extern int inet6_rtm_newroute(struct sk_buff *skb, struct nlmsghdr* nlh, void *arg);
+extern int inet6_rtm_delroute(struct sk_buff *skb, struct nlmsghdr* nlh, void *arg);
+
+extern void rt6_ifdown(struct device *dev);
 
 /*
  *	Store a destination cache entry in a socket
@@ -100,7 +109,7 @@
 	struct rt6_info *rt;
 		
 	np = &sk->net_pinfo.af_inet6;
-	np->dst = dst;
+	sk->dst_cache = dst;
 	
 	rt = (struct rt6_info *) dst;
 	

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov