lwip-users
[Top][All Lists]
Advanced

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

Re: [lwip-users] mDNS


From: Louis Demers
Subject: Re: [lwip-users] mDNS
Date: Mon, 18 Dec 2017 20:17:23 -0500

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.



On Dec 17, 2017, at 17:50, Erik Ekman <address@hidden> 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 <address@hidden> 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

Ciao
Dirk



_______________________________________________
lwip-users mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/lwip-users

_______________________________________________
lwip-users mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/lwip-users


reply via email to

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