lwip-users
[Top][All Lists]
Advanced

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

[lwip-users] Long chain of netbufs/pbufs


From: Adrian Figueroa
Subject: [lwip-users] Long chain of netbufs/pbufs
Date: Wed, 11 Apr 2018 12:11:05 +0000

Hello!

 

I want to receive a large amount of data and store it in a long chain of netbufs/pbufs without copying. This works fine with netbuf_chain() after receiving a new netbuf, but I noticed that the total length of a chain is limited to the size of u16_t (64k).

 

How do you normally cope with long netbuf chains? A redefinition to 32 bit lengths would make sense for me, but I do not want to change the Lwip source. Also, making a wrapper buffer structure with larger counting variables seems redundant.

 

Kind regards,

Adrian

 

Attachment: smime.p7s
Description: S/MIME cryptographic signature


reply via email to

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