summaryrefslogtreecommitdiffstats
path: root/include/linux/trdevice.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/trdevice.h')
-rw-r--r--include/linux/trdevice.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/include/linux/trdevice.h b/include/linux/trdevice.h
index f2e09fa98..96801763d 100644
--- a/include/linux/trdevice.h
+++ b/include/linux/trdevice.h
@@ -28,10 +28,9 @@
#include <linux/if_tr.h>
#ifdef __KERNEL__
-extern int tr_header(unsigned char *buff, struct device *dev,
+extern int tr_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 tr_rebuild_header(void *buff, struct device *dev,
unsigned long raddr, struct sk_buff *skb);
extern unsigned short tr_type_trans(struct sk_buff *skb, struct device *dev);