lwip-users
[Top][All Lists]
Advanced

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

[lwip-users] Re: [lwip] Mem alignment problem


From: Kieran Mansley
Subject: [lwip-users] Re: [lwip] Mem alignment problem
Date: Wed, 08 Jan 2003 22:38:49 -0000

On Thu, 14 Mar 2002, Mumtaz Ahmad wrote:

> Well the mechanism of keeping 2 extra bytes extra  is helpful in sending any
> packet and do align Ip header ,agree ,but what about the receiving packets ?
> Packets  when recived do suffer memory alignment problem as the pbufs are
> allocated from pbuf_pool and pool pbufs donot use this mechanism .

The fact that the memory is allocated from a pool doesn't matter.  The
code that puts the data from the network into the pbuf should be aware of
this issue and adjust accordingly.  It's not up to lwip to do it as
non-ethernets may not have this problem, and the stack is network
independent.

Kieran

[This message was sent through the lwip discussion list.]




reply via email to

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