lwip-users
[Top][All Lists]
Advanced

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

Re: [lwip-users] Pbuf alloc size


From: Kieran Mansley
Subject: Re: [lwip-users] Pbuf alloc size
Date: Sat, 11 Aug 2012 19:28:03 +0100

On 10 Aug 2012, at 11:59, Kjel Snorre Jahrus wrote:

> Hello,
> 
> I am trying to implement the lwIP on my platform and I noticed that the app 
> works when I am allocating netif->mtu+14 bytes to the newly created pbuf in 
> the low_level_input function but it doesn't if I allocate the size of the 
> currently received frame.

14 is the size of the ethernet header.  The MTU should include the ethernet 
header though.

Kieran


reply via email to

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