patch-2.4.0-test7 linux/include/linux/etherdevice.h
Next file: linux/include/linux/file.h
Previous file: linux/include/linux/dirent.h
Back to the patch index
Back to the overall index
- Lines: 17
- Date:
Tue Aug 22 08:59:00 2000
- Orig file:
v2.4.0-test6/linux/include/linux/etherdevice.h
- Orig date:
Fri Jan 28 15:09:09 2000
diff -u --recursive --new-file v2.4.0-test6/linux/include/linux/etherdevice.h linux/include/linux/etherdevice.h
@@ -40,15 +40,10 @@
unsigned char *haddr);
extern struct net_device * init_etherdev(struct net_device *, int);
-#if 1 /*def CONFIG_IP_ROUTER*/
static __inline__ void eth_copy_and_sum (struct sk_buff *dest, unsigned char *src, int len, int base)
{
- memcpy (dest->data, src, len);
+ memcpy (dest->data, src, len);
}
-#else
-extern void eth_copy_and_sum(struct sk_buff *dest,
- unsigned char *src, int length, int base);
-#endif
#endif
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)