Hello. On 28.04.22 05:05, Alexander Aring wrote:
Hi, this patch series removes the rb data structure for looking up a nhc by nhc id. Instead we using the existing nexthdr lookup array by iterating over it and find the right nhc by nhc id. It's simply not worth it to use such complex handling for such small amount of nhc. As we only support nhc ids which fits into 1 byte and there are not two byte nhc ids values specified yet, we let the nhc layer only handle 1 byte values. If there is the need for 2 byte nhc values we can add support for it. - Alex Alexander Aring (3): net: 6lowpan: remove const from scalars net: 6lowpan: use array for find nhc id net: 6lowpan: constify lowpan_nhc structures
These patches have been applied to the wpan-next tree and will be part of the next pull request to net-next. Thanks! regards Stefan Schmidt