lwip-users
[Top][All Lists]
Advanced

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

R: [lwip-users] ip_reass


From: Ceresoli Luca
Subject: R: [lwip-users] ip_reass
Date: Fri, 10 Oct 2008 09:39:09 +0200

Ed Sutter wrote:
> I'm running LWIP 1.3.0 on a Blackfin, which is picky about 
> ...
> The ethernet_input() function then sees that it is IP, 
> increments the payload
> pointer by 14 (size of ethernet header) and passes the pbufs 
> to ip_input().
> Note that at this point, the payload pointer is no longer 
> aligned on a 4-byte
> boundary because the original 4-byte-aligned payload pointer 
> is incremented
> by 14.

Which Blackfin are you using?
Tha Ethernet MAC of Blackfin 536/7 can optionally add two dummy bytes in front 
of incoming frames (setting bit RXDWA in the EMAC_SYSCTL register). This makes 
all TCP/IP headers 4-byte aligned.

Of course your driver must support it.

Luca




reply via email to

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