patch-1.3.6 linux/include/linux/netdevice.h

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

diff -u --recursive --new-file v1.3.5/linux/include/linux/netdevice.h linux/include/linux/netdevice.h
@@ -139,13 +139,12 @@
   int			  (*stop)(struct device *dev);
   int			  (*hard_start_xmit) (struct sk_buff *skb,
 					      struct device *dev);
-  int			  (*hard_header) (unsigned char *buff,
+  int			  (*hard_header) (struct sk_buff *skb,
 					  struct device *dev,
 					  unsigned short type,
 					  void *daddr,
 					  void *saddr,
-					  unsigned len,
-					  struct sk_buff *skb);
+					  unsigned len);
   int			  (*rebuild_header)(void *eth, struct device *dev,
 				unsigned long raddr, struct sk_buff *skb);
 #define HAVE_MULTICAST			 

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