Re: [lwip-users] tcp_sent() callback: Called once per sent packet or for multiple packets at once?

2022-02-03 Thread goldsi...@gmx.de
Am 03.02.2022 um 15:51 schrieb Matthias Paul: Hello all, I'm using lwip 2.1.2 in non-OS / non-threaded mode (main loop mode) with raw API to send/receive TCP packets. When sending packets with tcp_write() I'd like to use zero copy mechanism. Therefore I need to keep the pbuf objects until the

Re: [lwip-users] lwip_cyclic_timer() repeatedly calling malloc/free

2022-02-03 Thread goldsi...@gmx.de
Am 01.02.2022 um 15:39 schrieb R. Diez via lwip-users: Hi all: I have a few embedded bare-metal applications that use lwIP. The microcontrollers tend to have limited SRAM, but it is usually enough to use malloc() with care for non-critical tasks. I guess I could investigate about lwIP memory

[lwip-users] tcp_sent() callback: Called once per sent packet or for multiple packets at once?

2022-02-03 Thread Matthias Paul
Hello all, I'm using lwip 2.1.2 in non-OS / non-threaded mode (main loop mode) with raw API to send/receive TCP packets. When sending packets with tcp_write() I'd like to use zero copy mechanism. Therefore I need to keep the pbuf objects until the buffer has been sent and acknowledged by