Thanks for your answer kieran
I looked for my driver and seem to have some problem if there is most than one pbuf in a chain. He was sending the both pbuf in the same descriptor as you said! Thanks a lot > -----Message d'origine----- > De : [email protected] > [mailto:[email protected]] De la > part de Kieran Mansley > Envoyé : mardi 17 novembre 2009 16:25 > À : Mailing list for lwIP users > Objet : RE: [lwip-users] Checksum Incorrect caused by Concatenation > > On Tue, 2009-11-17 at 10:01 +0100, Hervé GARAT : Audemat wrote: > > However the message sent is long as p->tot_len, therefore the TCP > > checksum is Incorrect!! > > Here's an possibility: when your driver sends the packet, does it just > send p->tot_len byte starting from p->payload? That would be wrong. It > must send p->len byte from p->payload, and then do the same for p->next, > and so on, until it has sent p->tot_len in total. > > Kieran > > > > _______________________________________________ > lwip-users mailing list > [email protected] > http://lists.nongnu.org/mailman/listinfo/lwip-users _______________________________________________ lwip-users mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/lwip-users
