[Top][All Lists]

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

[lwip-users] IPv6 support and mDNS

From: Jonathan D
Subject: [lwip-users] IPv6 support and mDNS
Date: Fri, 2 Sep 2022 10:01:29 +0000


I develop a device which has mDNS. Now, I have to add support for IPv6.

As a first step to support IPv6, I want to have a functional ping6 with the device.

I have a code that can ping the device but I had to deactivate `LWIP_IPV6_MLD` and `LWIP_MDNS_RESPONDER`. If I don't deactivate them the device answers with "ip6_input: packet not for us."
For a reason I don't understand, the test related to the comment /* match packet against an interface, i.e. is this packet for us? */ failed.
Deactivating `LWIP_MDNS_RESPONDER` will disable mDNS, which is not OK.
The project doesn't compile without `LWIP_IPV6_MLD` but with `LWIP_MDNS_RESPONDER`.

I have another concern:
Can someone explain me the following behaviour ? If pinging has worked with a specific code and I changed the code trying to remove all the unnessary changes to make it works (see upper), the ping is still working the same day, but the day after the ping doesn't work anymore with the latter code.
To make the latter code works again, I have first to test with the previous one (the "dirty" one).
I am pinging with an Ubuntu laptop.

Thanks in advance for your help,


reply via email to

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