[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lwip-devel] [bug #50739] 6lowpan - IPHC de-compression bug

From: Aigner B.
Subject: [lwip-devel] [bug #50739] 6lowpan - IPHC de-compression bug
Date: Thu, 6 Apr 2017 08:34:54 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/57.0.2987.98 Safari/537.36


                 Summary: 6lowpan - IPHC de-compression bug
                 Project: lwIP - A Lightweight TCP/IP stack
            Submitted by: aignerb
            Submitted on: Thu 06 Apr 2017 12:34:52 PM UTC
                Category: IPv6
                Severity: 3 - Normal
              Item Group: Faulty Behaviour
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any
         Planned Release: None
            lwIP version: 2.0.2



Hi @all,

I'm working on a RFC7668 implementation on the ESP32 (6lowpan over Bluetooth

I found a wrong implementation within the header decompression:


ip6hdr->dest.addr[0] = htonl(0xff000000UL |

This line is the dest. address decompression for the settings Multicast=1,
DAC=1, DAM=10.
According to RFC6282, page 9, following address format is used:

10:  32 bits.  The address takes the form ffXX::00XX:XXXX.

So, as I think, the line should be written as following:

ip6hdr->dest.addr[0] = htonl(0xff000000UL |

Am I right?

Best wishes


Reply to this item at:


  Message sent via/by Savannah

reply via email to

[Prev in Thread] Current Thread [Next in Thread]