diff options
Diffstat (limited to 'include/linux/etherdevice.h')
-rw-r--r-- | include/linux/etherdevice.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/include/linux/etherdevice.h b/include/linux/etherdevice.h index c0384391d..9101855c5 100644 --- a/include/linux/etherdevice.h +++ b/include/linux/etherdevice.h @@ -35,15 +35,14 @@ 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, unsigned char * haddr); -extern int eth_header_cache(struct dst_entry *dst, - struct neighbour *neigh, +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); #ifdef CONFIG_IP_ROUTER -static void inline eth_copy_and_sum (struct sk_buff *dest, unsigned char *src, int len, int base) +static __inline__ void eth_copy_and_sum (struct sk_buff *dest, unsigned char *src, int len, int base) { memcpy (dest->data, src, len); } |