patch-2.3.14 linux/include/linux/trdevice.h

Next file: linux/include/linux/wanpipe.h
Previous file: linux/include/linux/sysctl.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.13/linux/include/linux/trdevice.h linux/include/linux/trdevice.h
@@ -28,12 +28,12 @@
 #include <linux/if_tr.h>
 
 #ifdef __KERNEL__
-extern int		tr_header(struct sk_buff *skb, struct device *dev,
+extern int		tr_header(struct sk_buff *skb, struct net_device *dev,
 				   unsigned short type, void *daddr,
 				   void *saddr, unsigned len);
 extern int		tr_rebuild_header(struct sk_buff *skb);
-extern unsigned short	tr_type_trans(struct sk_buff *skb, struct device *dev);
-extern struct device    * init_trdev(struct device *, int);
+extern unsigned short	tr_type_trans(struct sk_buff *skb, struct net_device *dev);
+extern struct net_device    * init_trdev(struct net_device *, int);
 
 #endif
 

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