diff options
author | Martin Townsend <mtownsend1973@gmail.com> | 2014-10-23 10:40:56 -0400 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2014-10-27 10:51:16 -0400 |
commit | 01141234f237957ec962dda2f1ca89d9ef180884 (patch) | |
tree | 1ed206b2d4dd83f6514dd07e0cabbe345f22b375 /net/6lowpan | |
parent | 3c400b843d4c07703b68e91854bc395c95e4c51a (diff) |
ieee802154: 6lowpan: rename process_data and lowpan_process_data
As we have decouple decompression from data delivery we can now rename all
occurences of process_data in receive path.
Signed-off-by: Martin Townsend <mtownsend1973@gmail.com>
Acked-by: Alexander Aring <alex.aring@gmail.com>
Acked-by: Jukka Rissanen <jukka.rissanen@linux.intel.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'net/6lowpan')
-rw-r--r-- | net/6lowpan/iphc.c | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/net/6lowpan/iphc.c b/net/6lowpan/iphc.c index 45714fe885f0..73a7065f0c6b 100644 --- a/net/6lowpan/iphc.c +++ b/net/6lowpan/iphc.c | |||
@@ -301,10 +301,12 @@ err: | |||
301 | /* TTL uncompression values */ | 301 | /* TTL uncompression values */ |
302 | static const u8 lowpan_ttl_values[] = { 0, 1, 64, 255 }; | 302 | static const u8 lowpan_ttl_values[] = { 0, 1, 64, 255 }; |
303 | 303 | ||
304 | int lowpan_process_data(struct sk_buff *skb, struct net_device *dev, | 304 | int |
305 | const u8 *saddr, const u8 saddr_type, const u8 saddr_len, | 305 | lowpan_header_decompress(struct sk_buff *skb, struct net_device *dev, |
306 | const u8 *daddr, const u8 daddr_type, const u8 daddr_len, | 306 | const u8 *saddr, const u8 saddr_type, |
307 | u8 iphc0, u8 iphc1) | 307 | const u8 saddr_len, const u8 *daddr, |
308 | const u8 daddr_type, const u8 daddr_len, | ||
309 | u8 iphc0, u8 iphc1) | ||
308 | { | 310 | { |
309 | struct ipv6hdr hdr = {}; | 311 | struct ipv6hdr hdr = {}; |
310 | u8 tmp, num_context = 0; | 312 | u8 tmp, num_context = 0; |
@@ -480,7 +482,7 @@ drop: | |||
480 | kfree_skb(skb); | 482 | kfree_skb(skb); |
481 | return -EINVAL; | 483 | return -EINVAL; |
482 | } | 484 | } |
483 | EXPORT_SYMBOL_GPL(lowpan_process_data); | 485 | EXPORT_SYMBOL_GPL(lowpan_header_decompress); |
484 | 486 | ||
485 | static u8 lowpan_compress_addr_64(u8 **hc_ptr, u8 shift, | 487 | static u8 lowpan_compress_addr_64(u8 **hc_ptr, u8 shift, |
486 | const struct in6_addr *ipaddr, | 488 | const struct in6_addr *ipaddr, |