linux/net/6lowpan
Alexander Aring 8911d7748c 6lowpan: cleanup lowpan_header_decompress
This patch changes the lowpan_header_decompress function by removing
inklayer related information from parameters. This is currently for
supporting short and extended address for iphc handling in 802154.
We don't support short address handling anyway right now, but there
exists already code for handling short addresses in
lowpan_header_decompress.

The address parameters are also changed to a void pointer, so 6LoWPAN
linklayer specific code can put complex structures as these parameters
and cast it again inside the generic code by evaluating linklayer type
before. The order is also changed by destination address at first and
then source address, which is the same like all others functions where
destination is always the first, memcpy, dev_hard_header,
lowpan_header_compress, etc.

This patch also moves the fetching of iphc values from 6LoWPAN linklayer
specific code into the generic branch.

Signed-off-by: Alexander Aring <alex.aring@gmail.com>
Acked-by: Jukka Rissanen <jukka.rissanen@linux.intel.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
2015-10-21 00:49:24 +02:00
..
core.c 6lowpan: move shared settings to lowpan_netdev_setup 2015-10-08 14:25:34 +02:00
iphc.c 6lowpan: cleanup lowpan_header_decompress 2015-10-21 00:49:24 +02:00
Kconfig 6lowpan: nhc: add other known rfc6282 compressions 2015-02-14 23:08:44 +01:00
Makefile 6lowpan: add generic 6lowpan netdev private data 2015-08-11 22:05:36 +02:00
nhc_dest.c 6lowpan: nhc: add other known rfc6282 compressions 2015-02-14 23:08:44 +01:00
nhc_fragment.c 6lowpan: nhc: add other known rfc6282 compressions 2015-02-14 23:08:44 +01:00
nhc_hop.c 6lowpan: nhc: add other known rfc6282 compressions 2015-02-14 23:08:44 +01:00
nhc_ipv6.c 6lowpan: nhc: add other known rfc6282 compressions 2015-02-14 23:08:44 +01:00
nhc_mobility.c 6lowpan: nhc: add other known rfc6282 compressions 2015-02-14 23:08:44 +01:00
nhc_routing.c 6lowpan: nhc: add other known rfc6282 compressions 2015-02-14 23:08:44 +01:00
nhc_udp.c ieee820154: 6lowpan: dispatch evaluation rework 2015-09-17 13:20:03 +02:00
nhc.c 6lowpan: cleanup lowpan_header_decompress 2015-10-21 00:49:24 +02:00
nhc.h 6lowpan: cleanup lowpan_header_decompress 2015-10-21 00:49:24 +02:00