[lwip-users] multiple ports/interfaces

2018-10-04 Thread Ranran
Hello, Does lwip support using multiple ports (physical interface) ? Is there any example showing how we should configure more than one port ? Thank you, ranran ___ lwip-users mailing list lwip-users@nongnu.org https://lists.nongnu.org/mailman

Re: [lwip-users] multiple ports/interfaces

2018-10-07 Thread Ranran
On Thu, Oct 4, 2018 at 9:28 PM goldsi...@gmx.de wrote: > > On 04.10.2018 17:14, Ranran wrote: > > Does lwip support using multiple ports (physical interface) ? > > Yes. Do you want a single IP address or each netif with its own IP? > For a single IP address, you need somethi

Re: [lwip-users] multiple ports/interfaces

2018-10-07 Thread Ranran
On Sun, Oct 7, 2018 at 11:52 AM goldsimon wrote: > > > > Ranran wrote: > >On Thu, Oct 4, 2018 at 9:28 PM goldsi...@gmx.de > >wrote: > >> > >> On 04.10.2018 17:14, Ranran wrote: > >> > Does lwip support using multiple ports (physical interfac

[lwip-users] example for using ping ?

2019-03-03 Thread Ranran
Hello, Using latest lwip from git, I can't find anymore ping.c application. How can we send ping with latest version ? Thanks, ran ___ lwip-users mailing list lwip-users@nongnu.org https://lists.nongnu.org/mailman/listinfo/lwip-users

[lwip-users] why ping utility was removed ?

2019-03-27 Thread Ranran
Hello, Does anyone knows why ping.c utility was removed from lwip ? I only found it in older lwip versions. Thank you, ran ___ lwip-users mailing list lwip-users@nongnu.org https://lists.nongnu.org/mailman/listinfo/lwip-users

[lwip-users] Can we use both NETCONN & SOCKET ?

2019-04-03 Thread Ranran
Hello, Is it legal to enable both LWIP_NETCONN and LWIP_SOCKET ? Thanks, ran ___ lwip-users mailing list lwip-users@nongnu.org https://lists.nongnu.org/mailman/listinfo/lwip-users

[lwip-users] using lwip with static memory

2019-04-03 Thread Ranran
Hello, Is it possible to use lwip with static memory ? We need to use lwip with safertos (safertos does not support heap). Is it done by enabling MEM_USE_POOLS=1 Thanks, ran ___ lwip-users mailing list lwip-users@nongnu.org https://lists.nongnu.org/ma

[lwip-users] udp echo stress test with LWIP - crash LWIP

2019-10-30 Thread Ranran
Hello, I am using LWIP with stm32, running udp server echo in my board. From pc I run udp client stress test. I noticed that with RTOS lwip get crash (it even can't ping anymore, after stopping the stress test), but without RTOS it behaves without any issues. Thing I tried: 1. compiled the applica

Re: [lwip-users] udp echo stress test with LWIP - crash LWIP

2019-10-30 Thread Ranran
_ > From: lwip-users on behalf of > Ranran > Sent: 30 October 2019 07:28 > To: Mailing list for lwIP users > Subject: [lwip-users] udp echo stress test with LWIP - crash LWIP > > Hello, > > I am using LWIP with stm32, running udp server echo in my board. > From pc I r

[lwip-users] fragmentation failure with stm32 if length > 1704

2019-12-11 Thread Ranran
tch->sys_check_timeouts->lwip_cyclic_timer->ip_reass_timr->ip_reass_free_complete_datagram exception error of type unaligned access. I tried to increase various size in lwipopts.h but nothing helps. Is it stm32 issue ? Any idea ? Thanks, ranran ___

Re: [lwip-users] fragmentation failure with stm32 if length > 1704

2019-12-15 Thread ranran
Hello, We see the using packets above ~6000 bytes, lwip get into unaligned access exception (it first does not respond to the ~6000 packet from PC, and then after several seconds , or after sending a small packet again, it gets into this exception: ->lwip_cyclic_timer ->ip_reass_tmr ->ip_reass_fr

Re: [lwip-users] fragmentation failure with stm32 if length > 1704

2019-12-18 Thread ranran
Hi, I've solved this issue after increasing size as was suggested here. Thanks ! (The issue was also posted here: https://community.st.com/s/question/0D50XBozSc5SQE/ethernet-fragmentation-issues) Yet, whenever lwip receives (from PC) big packet , above its limit, it gets into exception as was