On 10/23/2012 06:09 AM, Tony Cheneau wrote:
> This causes a drop of the UDP packet.
>
> Signed-off-by: Tony Cheneau
> ---
> net/ieee802154/6lowpan.c |5 -
> 1 files changed, 4 insertions(+), 1 deletions(-)
>
> diff --git a/net/ieee802154/6lowpan.c b/net/ieee802154/6lowpan.c
> index 6d42
On 10/23/2012 06:09 AM, Tony Cheneau wrote:
> The first fragment, FRAG1, must contain some payload according to the
> specs. However, as it is currently written, the first fragment will
> remain empty and only contain the 6lowpan headers.
>
> This patch also extract the transport layer information
On 10/23/2012 06:09 AM, Tony Cheneau wrote:
> The previous code would just compress the UDP header and send the compressed
> UDP header along with the uncompressed one.
>
> Signed-off-by: Tony Cheneau
> ---
> net/ieee802154/6lowpan.c | 36 +---
> 1 files changed
On 10/23/2012 06:09 AM, Tony Cheneau wrote:
> It is intended that the IEEE 802.15.4 standard uses the 0x short address
> (2
> bytes) for message broadcasting.
>
> Signed-off-by: Tony Cheneau
> ---
> net/ieee802154/6lowpan.c | 21 +
> 1 files changed, 13 insertions(+),
On 10/23/2012 06:09 AM, Tony Cheneau wrote:
> #define lowpan_is_iid_16_bit_compressable(a) \
> a)->s6_addr16[4]) == 0) && \
> - (((a)->s6_addr16[5]) == 0) && \
> - (((a)->s6_addr16[6]) == 0) && \
> - a)->s6_addr[14]) & 0x80) == 0))
> +