lwip-users
[Top][All Lists]
Advanced

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

Re: [lwip-users] LWIP - mbedtls -altcp IPv4 length exceeds packet length


From: address@hidden
Subject: Re: [lwip-users] LWIP - mbedtls -altcp IPv4 length exceeds packet length
Date: Fri, 1 Oct 2021 19:39:18 +0200
User-agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.14.0

Am 01.10.2021 um 16:31 schrieb Duygu D.:
> Hello,
> After your comment I checked p->tot_len in low_level_output function and
> I get the 590 value but p->len = 136 byte. 
> How can I solve this problem?

You have to iterate the pbuf chain and ensure to send all parts in one
packet.

See the win32 pcap netif driver:

https://git.savannah.nongnu.org/cgit/lwip.git/tree/contrib/ports/win32/pcapif.c#n838

Regards,
Simon



reply via email to

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