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 _______________________________________________ lwip-users mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/lwip-users
