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

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

diff -u --recursive --new-file v2.3.13/linux/include/net/ip6_route.h linux/include/net/ip6_route.h
@@ -40,15 +40,15 @@
 extern int			ip6_del_rt(struct rt6_info *);
 
 extern int			ip6_rt_addr_add(struct in6_addr *addr,
-						struct device *dev);
+						struct net_device *dev);
 
 extern int			ip6_rt_addr_del(struct in6_addr *addr,
-						struct device *dev);
+						struct net_device *dev);
 
 extern void			rt6_sndmsg(int type, struct in6_addr *dst,
 					   struct in6_addr *src,
 					   struct in6_addr *gw,
-					   struct device *dev, 
+					   struct net_device *dev, 
 					   int dstlen, int srclen,
 					   int metric, __u32 flags);
 
@@ -61,9 +61,9 @@
  *
  */
 extern struct rt6_info *	rt6_get_dflt_router(struct in6_addr *addr,
-						    struct device *dev);
+						    struct net_device *dev);
 extern struct rt6_info *	rt6_add_dflt_router(struct in6_addr *gwaddr,
-						    struct device *dev);
+						    struct net_device *dev);
 
 extern void			rt6_purge_dflt_routers(int lst_resort);
 
@@ -74,7 +74,7 @@
 
 extern void			rt6_pmtu_discovery(struct in6_addr *daddr,
 						   struct in6_addr *saddr,
-						   struct device *dev,
+						   struct net_device *dev,
 						   u32 pmtu);
 
 struct nlmsghdr;
@@ -84,8 +84,8 @@
 extern int inet6_rtm_delroute(struct sk_buff *skb, struct nlmsghdr* nlh, void *arg);
 extern int inet6_rtm_getroute(struct sk_buff *skb, struct nlmsghdr* nlh, void *arg);
 
-extern void rt6_ifdown(struct device *dev);
-extern void rt6_mtu_change(struct device *dev, unsigned mtu);
+extern void rt6_ifdown(struct net_device *dev);
+extern void rt6_mtu_change(struct net_device *dev, unsigned mtu);
 
 /*
  *	Store a destination cache entry in a socket

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)