mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 11:41:38 -04:00
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 <[email protected]> Acked-by: Alexander Aring <[email protected]> Acked-by: Jukka Rissanen <[email protected]> Signed-off-by: Marcel Holtmann <[email protected]>
This commit is contained in:
parent
3c400b843d
commit
01141234f2
4 changed files with 29 additions and 23 deletions
|
|
@ -301,10 +301,12 @@ err:
|
|||
/* TTL uncompression values */
|
||||
static const u8 lowpan_ttl_values[] = { 0, 1, 64, 255 };
|
||||
|
||||
int lowpan_process_data(struct sk_buff *skb, struct net_device *dev,
|
||||
const u8 *saddr, const u8 saddr_type, const u8 saddr_len,
|
||||
const u8 *daddr, const u8 daddr_type, const u8 daddr_len,
|
||||
u8 iphc0, u8 iphc1)
|
||||
int
|
||||
lowpan_header_decompress(struct sk_buff *skb, struct net_device *dev,
|
||||
const u8 *saddr, const u8 saddr_type,
|
||||
const u8 saddr_len, const u8 *daddr,
|
||||
const u8 daddr_type, const u8 daddr_len,
|
||||
u8 iphc0, u8 iphc1)
|
||||
{
|
||||
struct ipv6hdr hdr = {};
|
||||
u8 tmp, num_context = 0;
|
||||
|
|
@ -480,7 +482,7 @@ drop:
|
|||
kfree_skb(skb);
|
||||
return -EINVAL;
|
||||
}
|
||||
EXPORT_SYMBOL_GPL(lowpan_process_data);
|
||||
EXPORT_SYMBOL_GPL(lowpan_header_decompress);
|
||||
|
||||
static u8 lowpan_compress_addr_64(u8 **hc_ptr, u8 shift,
|
||||
const struct in6_addr *ipaddr,
|
||||
|
|
|
|||
Loading…
Reference in a new issue