[lwip-users] SO_BINDTODEVICE Support

2016-12-19 Thread Aditya Prakash
Hi, I ran into this thread from 2011 http://savannah.nongnu.org/bugs/?33128, I was wondering if there are any plans to to implement this feature. As I have a device with multiple interfaces and it would be great if this feature is implemented in LwIP code itself, rather than implementing it on

[lwip-users] LWIP : Get rid of warnings when LWIP_NOASSERT is on

2016-12-19 Thread Nirav Desai
?Hello, I use LWIP in professional capacity. Here I face a common warning due ot a varialble defined in file viz. pbuf.c When LWIP Asserts are off compilation warning is seen. Please find attached a patch which helps get rid of this warning. Please let me know if this can be pulled in man

Re: [lwip-users] LWIP : Get rid of warnings when LWIP_NOASSERT is on

2016-12-19 Thread Simon Goldschmidt
adityapr wrote: > Since we are already at this issue, there are a couple of warnings that I > would also like to report. Reporting errors is best done via https://savannah.nongnu.org/bugs/?group=lwip or at least by putting a full compiler error into the mail (instead of re-phrasing a problem

Re: [lwip-users] LWIP : Get rid of warnings when LWIP_NOASSERT is on

2016-12-19 Thread Dirk Ziegelmeier
Thank you for reporting. I found three more places in IPv6 code to fix. Ciao Dirk -- Dirk Ziegelmeier * d...@ziegelmeier.net * http://www.ziegelmeier.net On Mon, Dec 19, 2016 at 9:48 AM, Nirav Desai wrote: > ​Hello, > > I use LWIP in professional capacity. > > Here I face

Re: [lwip-users] LWIP : Get rid of warnings when LWIP_NOASSERT is on

2016-12-19 Thread Dirk Ziegelmeier
I don't get these warnings on any compiler that I use (gcc linux, arm-none-eabi-gcc, clang, VS2010) and the code looks OK to me. Since all parentheses you added are around arguments passed to lwip_htons(), I suspect you may have overridden this macro and the problem is somewhere in its

Re: [lwip-users] LWIP : Get rid of warnings when LWIP_NOASSERT is on

2016-12-19 Thread contact
You can add a simpler statement in such case: #ifndef LWIP_NOASSERT (void)err; #endif Regards, Ajay Bhargav www.8051projects.net From: Nirav Desai Sent: Monday, December 19, 2016 2:29 PM To: lwip-de...@nongnu.org Cc: lwip-users@nongnu.org Subject: [lwip-users] LWIP : Get rid of warnings when

[lwip-users] FreeRTOs port

2016-12-19 Thread Nirav Desai
Hello All, Please find attached a patch which has FreeRTOS port for LWIP. Many IoT based products use FreeRTOS as their operating system and LWIP is their prime choice for network stack. ?However there is no standard port available in LWIP contrib Please incorporate this port patch.

Re: [lwip-users] FreeRTOs port

2016-12-19 Thread Dirk Ziegelmeier
http://lwip.100.n7.nabble.com/lwIP-ports-for-RTEMS-POSIX-based-RTOS-and-FreeRTOS-TMS570-a-LPC17-40xx-drivers-td27134.html Ciao Dirk On Mon, Dec 19, 2016 at 12:16 PM, Nirav Desai wrote: > Hello All, > > Please find attached a patch which has FreeRTOS port for LWIP. > > Many