diff options
Diffstat (limited to 'include/linux/etherdevice.h')
-rw-r--r-- | include/linux/etherdevice.h | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/include/linux/etherdevice.h b/include/linux/etherdevice.h index 41073fcba..9f8b97ccf 100644 --- a/include/linux/etherdevice.h +++ b/include/linux/etherdevice.h @@ -28,13 +28,18 @@ #include <linux/if_ether.h> #ifdef __KERNEL__ -extern int eth_header(unsigned char *buff, struct device *dev, +extern int eth_header(struct sk_buff *skb, struct device *dev, unsigned short type, void *daddr, - void *saddr, unsigned len, - struct sk_buff *skb); + void *saddr, unsigned len); extern int eth_rebuild_header(void *buff, struct device *dev, - unsigned long raddr, struct sk_buff *skb); + unsigned long dst, struct sk_buff *skb); extern unsigned short eth_type_trans(struct sk_buff *skb, struct device *dev); +extern void eth_header_cache_bind(struct hh_cache ** hhp, struct device *dev, + unsigned short htype, __u32 daddr); +extern void eth_header_cache_update(struct hh_cache *hh, struct device *dev, unsigned char * haddr); +extern void eth_copy_and_sum(struct sk_buff *dest, + unsigned char *src, int length, int base); +extern struct device * init_etherdev(struct device *, int); #endif |