lwip-users
[Top][All Lists]
Advanced

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

RE: [lwip-users] Checksum Incorrect caused by Concatenation


From: Hervé GARAT : Audemat
Subject: RE: [lwip-users] Checksum Incorrect caused by Concatenation
Date: Tue, 17 Nov 2009 19:05:48 +0100


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 : address@hidden
> [mailto:address@hidden 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
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/lwip-users





reply via email to

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