It does seem like the zynq never sees the multicast packets and so does not 
respond when requested.

Since it works only once when i register the service and one packet does get 
out, After ttl seconds, it never responds to queries...


Xilinx has a funky build process where the lwipopts.h files gets automatically 
generated by their Eclipse GUI interface and include files are copied to a 
working build directory prior to the build... I suspect some defines do not get 
set appropriately because when i look at some lwip source files, huge chunks 
are flagged by eclipse as inactive... i.e.. most of dns.c 

Also saw some comments that said that special action needed to be taken by 
calling

ip_set_option(l_udp_pcb, SOF_BROADCAST);

to enable a response to multicast broadcast, which i expected should be done in 
the mdns module, not at the application level ???


still much investigation to do to figure out why the defines don't seem to 
stick !


Louis Demers Eng.
[email protected]



> On Dec 17, 2017, at 17:50, Erik Ekman <[email protected]> wrote:
> 
> If your network interface filters out incoming multicast packets at the MAC 
> layer it would look just like this I believe.
> 
> On 16 December 2017 at 15:15, Dirk Ziegelmeier <[email protected] 
> <mailto:[email protected]>> wrote:
> Did you configure your netif to receive broadcasts?
> 
> Do you call 
> mdns_resp_netif_settings_changed()
> when your link state / IP changes? This will trigger a broadcast.
> 
> http://www.nongnu.org/lwip/2_0_x/group__mdns.html 
> <http://www.nongnu.org/lwip/2_0_x/group__mdns.html>
> 
> Ciao
> Dirk
> 
> 
> 
> _______________________________________________
> lwip-users mailing list
> [email protected] <mailto:[email protected]>
> https://lists.nongnu.org/mailman/listinfo/lwip-users 
> <https://lists.nongnu.org/mailman/listinfo/lwip-users>
> 
> _______________________________________________
> lwip-users mailing list
> [email protected]
> https://lists.nongnu.org/mailman/listinfo/lwip-users

_______________________________________________
lwip-users mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/lwip-users

Reply via email to