diff options
Diffstat (limited to 'include/net/6lowpan.h')
-rw-r--r-- | include/net/6lowpan.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/include/net/6lowpan.h b/include/net/6lowpan.h index d184df1d0d41..dc03d77ad23b 100644 --- a/include/net/6lowpan.h +++ b/include/net/6lowpan.h | |||
@@ -372,12 +372,12 @@ lowpan_uncompress_size(const struct sk_buff *skb, u16 *dgram_offset) | |||
372 | return skb->len + uncomp_header - ret; | 372 | return skb->len + uncomp_header - ret; |
373 | } | 373 | } |
374 | 374 | ||
375 | typedef int (*skb_delivery_cb)(struct sk_buff *skb, struct net_device *dev); | 375 | int |
376 | 376 | lowpan_header_decompress(struct sk_buff *skb, struct net_device *dev, | |
377 | int lowpan_process_data(struct sk_buff *skb, struct net_device *dev, | 377 | const u8 *saddr, const u8 saddr_type, |
378 | const u8 *saddr, const u8 saddr_type, const u8 saddr_len, | 378 | const u8 saddr_len, const u8 *daddr, |
379 | const u8 *daddr, const u8 daddr_type, const u8 daddr_len, | 379 | const u8 daddr_type, const u8 daddr_len, |
380 | u8 iphc0, u8 iphc1, skb_delivery_cb skb_deliver); | 380 | u8 iphc0, u8 iphc1); |
381 | int lowpan_header_compress(struct sk_buff *skb, struct net_device *dev, | 381 | int lowpan_header_compress(struct sk_buff *skb, struct net_device *dev, |
382 | unsigned short type, const void *_daddr, | 382 | unsigned short type, const void *_daddr, |
383 | const void *_saddr, unsigned int len); | 383 | const void *_saddr, unsigned int len); |