Re: [lwip-users] Webserver based on lwip 1.4.1

2019-01-22 Thread Simon Goldschmidt
"Keppler, Uwe" wrote: > Does really nobody have an idea or found a similar issue? Please don't top-post. Your problem looks like a threading issue. Did you read and understand http://www.nongnu.org/lwip/2_1_x/pitfalls.html ? And why are you using 1.4.1, which is really old? Furthermore, I

[lwip-users] WG: WG: Webserver based on lwip 1.4.1

2019-01-22 Thread Keppler, Uwe
Does really nobody have an idea or found a similar issue? -Ursprüngliche Nachricht- Von: Keppler, Uwe Gesendet: Donnerstag, 10. Januar 2019 14:18 An: 'Mailing list for lwIP users' Betreff: AW: [lwip-users] WG: Webserver based on lwip 1.4.1 Hi Steve, here is the lwipopts.h. The

Re: [lwip-users] Make accept, recv and send non blocking

2019-01-22 Thread saad saeed
Thanks. Get Outlook for Android From: lwip-users on behalf of yanhc519 Sent: Tuesday, January 22, 2019 4:41:46 PM To: lwip-users@nongnu.org Subject: Re: [lwip-users] Make accept, recv and send non blocking Hi Saad, For lwip_recv(int

Re: [lwip-users] Multicast MAC address filtering

2019-01-22 Thread Ivan Warren
Le 1/22/2019 à 8:13 PM, goldsi...@gmx.de a écrit : Struct netif has the 2 callback functions for this: 'igmp_mac_filter' and 'mld_mac_filter'. These two take IP addreses (each in their matching version), but since the mapping is defined, that should work for you? You should use

Re: [lwip-users] Best practice for DHCP/Static IP config

2019-01-22 Thread bob
Thanks for your help Simon! Bob -Original Message- Subject: Re: [lwip-users] Best practice for DHCP/Static IP config There is 'contrib\examples\example_app\test.c', but this file is somewhat of a bad example since it tries to include all possible code with ifdefs... So: netif_add() //

Re: [lwip-users] Multicast MAC address filtering

2019-01-22 Thread goldsi...@gmx.de
Am 22.01.2019 um 18:36 schrieb Ivan Warren: Lwip friends, Is there a way for LWIP to register MAC addresses related to IPV4 or IPV6 multicast addresses to assist in multicast address filtering by the MAC (or possibly by upstream switches when supported - without using IGMP snooping - or

Re: [lwip-users] Make accept, recv and send non blocking

2019-01-22 Thread yanhc519
Hi Saad, For lwip_recv(int s, void *mem, size_t len, int flags), I think you could set MSG_DONTWAIT in flags to receive data non-blocking. Regards, yan On 1/22/2019 15:34,saad saeed wrote: Dear All, I am using Socket API. How can I make lwip_accept(),lwip_recv() and lwip_send()

Re: [lwip-users] Best practice for DHCP/Static IP config

2019-01-22 Thread goldsi...@gmx.de
Am 22.01.2019 um 09:58 schrieb b...@pricom.com: Could I get a recommendation for run-time configurable DHCP/Static IP address. Sorry if this has been asked 100 times before. Just wondering what the people who actually use lwip do… From monitoring the mailing list, I understand no graceful

[lwip-users] About nd6.c when dealing with "unsolicited NA"

2019-01-22 Thread yanhc519
Hi all, In line 370 in nd6.c of lwip-2.1.2, /* This is an unsolicited NA, most likely there was a LLADDR change. */ i = nd6_find_neighbor_cache_entry(_address); if (i >= 0) { if (na_hdr->flags & ND6_FLAG_OVERRIDE) { MEMCPY(neighbor_cache[i].lladdr,

[lwip-users] Multicast MAC address filtering

2019-01-22 Thread Ivan Warren
Lwip friends, Is there a way for LWIP to register MAC addresses related to IPV4 or IPV6 multicast addresses to assist in multicast address filtering by the MAC (or possibly by upstream switches when supported - without using IGMP snooping - or whatever is used when MLD is used). The NIC I

[lwip-users] Best practice for DHCP/Static IP config

2019-01-22 Thread bob
Could I get a recommendation for run-time configurable DHCP/Static IP address. Sorry if this has been asked 100 times before. Just wondering what the people who actually use lwip do. >From monitoring the mailing list, I understand no graceful shutdown. So I am ok with a startup variable and