zephyr/net/ip/contiki/sicslowpan
Ravi kumar Veeramally 5e99b14ad4 net: 6lowpan: Fix 6lowpan fragmentation
IP packet passing through 6lowpan compression and 802.15.4
fragmentation has an issue. (RFC 6282 and 4944) RFC4944, 5.3
says "fragment header's datagram_size and datagram_offset
values as the size and offset of the IPv6 datagram before
compression".

At the moment datagram size and offset values are after
compression. Due to multiple bearer (15.4 and bluetooth) support
and multiple incoming buffers support functionality is divided
to compression and fragmentation parts. And datagram size and
offset values for BT are after compression. Small packet (which
doesn't need fragmentation) doesn't go through this. So cacheing
compressed and uncompressed header lengths and with hdr difference
preparing fragments as per original buffer (total buf size and offset).

Change-Id: I9d3b0433e64964c68519d7c007cc06ec6035b573
Jira: ZEP-208
Signed-off-by: Ravi kumar Veeramally <ravikumar.veeramally@linux.intel.com>
2016-05-19 14:18:38 +00:00
..
compression.h
fragmentation.h
null_compression.c net: 6lowpan: Fix include header files path in null_compression 2016-05-16 14:51:55 +00:00
null_compression.h net: 6lowpan: Fix include header files path in null_compression 2016-05-16 14:51:55 +00:00
null_fragmentation.c
null_fragmentation.h
sicslowpan_compression.c net: 6lowpan: Fix 6lowpan fragmentation 2016-05-19 14:18:38 +00:00
sicslowpan_compression.h
sicslowpan_fragmentation.c net: 6lowpan: Fix 6lowpan fragmentation 2016-05-19 14:18:38 +00:00
sicslowpan_fragmentation.h