lwip-devel
[Top][All Lists]
Advanced

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

[lwip-devel] [task #6849] Test how checksum on copy could be integrated


From: Simon Goldschmidt
Subject: [lwip-devel] [task #6849] Test how checksum on copy could be integrated into the stack
Date: Tue, 16 Mar 2010 15:11:31 +0000
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.9.2) Gecko/20100115 Firefox/3.6

Follow-up Comment #27, task #6849 (project lwip):

I meant something different: I didn't need an u32_t but only an u16_t for the
checksum (over the complete payload) and a bit in p->flags. So far it's not
much different from what you did.

However, the problem arises later. Let me make an example of
(pre-checksummed) udp_send:
- pbuf p passed to udp_send, p->payload == UDP-data, checksum is valid for
the full payload
- pbuf_header is called, p->payload == UDP-header
-> at this point, the checksum is not valid for the full pbuf payload any
more!
- inet_chksum_pseudo() is called -> it may not use p->chcksum as checksu for
p->payload..(p->payload+p->len) as it is not valid any more
-> what do you suggest to do at this point?

    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/task/?6849>

_______________________________________________
  Nachricht geschickt von/durch Savannah
  http://savannah.nongnu.org/





reply via email to

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