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

Next file: linux/include/linux/fb.h
Previous file: linux/include/linux/cycx_drv.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.13/linux/include/linux/etherdevice.h linux/include/linux/etherdevice.h
@@ -28,18 +28,18 @@
 #include <linux/if_ether.h>
 
 #ifdef __KERNEL__
-extern int		eth_header(struct sk_buff *skb, struct device *dev,
+extern int		eth_header(struct sk_buff *skb, struct net_device *dev,
 				   unsigned short type, void *daddr,
 				   void *saddr, unsigned len);
 extern int		eth_rebuild_header(struct sk_buff *skb);
-extern unsigned short	eth_type_trans(struct sk_buff *skb, struct device *dev);
-extern void		eth_header_cache_update(struct hh_cache *hh, struct device *dev,
+extern unsigned short	eth_type_trans(struct sk_buff *skb, struct net_device *dev);
+extern void		eth_header_cache_update(struct hh_cache *hh, struct net_device *dev,
 						unsigned char * haddr);
 extern int		eth_header_cache(struct neighbour *neigh,
 					 struct hh_cache *hh);
 extern int		eth_header_parse(struct sk_buff *skb,
 					 unsigned char *haddr);
-extern struct device	* init_etherdev(struct device *, int);
+extern struct net_device	* init_etherdev(struct net_device *, int);
 
 #ifdef CONFIG_IP_ROUTER
 static __inline__ void eth_copy_and_sum (struct sk_buff *dest, unsigned char *src, int len, int base)

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