lwip-users
[Top][All Lists]
Advanced

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

[lwip-users] alignment error of 4 bytes alignment


From: 乔崇
Subject: [lwip-users] alignment error of 4 bytes alignment
Date: Wed, 12 Nov 2003 13:21:17 +0800

Dear Sir:
        lwip's pbuf address's alignment can be set 4 aligned.But after
    case ETHTYPE_IP:
    q=etharp_ip_input(netif, p);
    pbuf_header(p, -14);
               ~~~~~~~~~~~~~
    netif->input(p, netif);
p->payload is not 4 byte aligned now,which generates ip.c,tcp_in.c many 
alignment error.
So I wish lwip suport a 14 bytes pbuf chain to left pbufs.every pbuf is 4 bytes 
aligned.
After pbuf_header(p, -14);,the p->payload change to p->next->payload,which is 
aligned.
Now lwip does not support this.


                                qiaochong
address@hidden
          2003-11-12







reply via email to

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