patch-1.3.6 linux/include/net/eth.h

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

diff -u --recursive --new-file v1.3.5/linux/include/net/eth.h linux/include/net/eth.h
@@ -24,10 +24,11 @@
 
 extern char		*eth_print(unsigned char *ptr);
 extern void		eth_dump(struct ethhdr *eth);
-extern int		eth_header(unsigned char *buff, struct device *dev,
-				   unsigned short type, unsigned long daddr,
-				   unsigned long saddr, unsigned len);
-extern int		eth_rebuild_header(void *buff, struct device *dev);
+extern int		eth_header(struct sk_buff *skb, struct device *dev,
+				   unsigned short type, void *daddr,
+				   void *saddr, unsigned len);
+extern int		eth_rebuild_header(void *buff, struct device *dev,
+				   unsigned long dst, struct sk_buff *skb);
 extern void		eth_add_arp(unsigned long addr, struct sk_buff *skb,
 				    struct device *dev);
 extern unsigned short	eth_type_trans(struct sk_buff *skb, struct device *dev);

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov with Sam's (original) version
of this