New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
lwip: initialize link-local address correctly #5718
Conversation
lwIP does some weird byte-swapping in netif_create_ip6_linklocal_address() with non-ethernet-addresses, so I rather initialize it like in GNRC, so it is compatible to both GNRC and emb6.
a0a6344
to
cc6b123
Compare
Marked for 2016.10, since we can't fix the IEEE 802.15.4 header parsing issue for this release anyway, so Interop between the other stacks isn't possible anyway. |
Ok let's try for the next release. |
We shouldn't just try, but do ;-) but the interop is lwIP's business ;-) |
I can confirm that with this PR, local address and EUI-64 in lwip correlate like in RIOT. However, I am still not able to transmit UDP packets between two nodes, one with tests/lwip and one with examples/gnrc_networking.
@miri64 do you say it is known that both stacks are currently not interoperable? |
Yes, but that's on lwIP's side. They don't parse the IEEE 802.15.4 header correctly (they don't check the source PAN elision flag, but skip it anyway). |
Well, that's a pity but not part of this PR. ACK and go. Will you provide a backport to the latest release branch? |
Yapp: #5741 |
lwIP does some weird byte-swapping in netif_create_ip6_linklocal_address()
with non-ethernet-addresses, so I rather initialize it like in GNRC, so it is
compatible to both GNRC and emb6.