[Top][All Lists]
[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/
- [lwip-devel] [task #6849] Test how checksum on copy could be integrated into the stack, (continued)
- [lwip-devel] [task #6849] Test how checksum on copy could be integrated into the stack, Kieran Mansley, 2010/03/15
- [lwip-devel] [task #6849] Test how checksum on copy could be integrated into the stack, Simon Goldschmidt, 2010/03/15
- [lwip-devel] [task #6849] Test how checksum on copy could be integrated into the stack, Simon Goldschmidt, 2010/03/15
- [lwip-devel] [task #6849] Test how checksum on copy could be integrated into the stack, Bill Auerbach, 2010/03/15
- [lwip-devel] [task #6849] Test how checksum on copy could be integrated into the stack, Simon Goldschmidt, 2010/03/15
- [lwip-devel] [task #6849] Test how checksum on copy could be integrated into the stack, Bill Auerbach, 2010/03/15
- [lwip-devel] [task #6849] Test how checksum on copy could be integrated into the stack, Bill Auerbach, 2010/03/15
- [lwip-devel] [task #6849] Test how checksum on copy could be integrated into the stack, Kieran Mansley, 2010/03/15
- [lwip-devel] [task #6849] Test how checksum on copy could be integrated into the stack, Simon Goldschmidt, 2010/03/16
- [lwip-devel] [task #6849] Test how checksum on copy could be integrated into the stack, Bill Auerbach, 2010/03/16
- [lwip-devel] [task #6849] Test how checksum on copy could be integrated into the stack,
Simon Goldschmidt <=
- [lwip-devel] [task #6849] Test how checksum on copy could be integrated into the stack, Simon Goldschmidt, 2010/03/25
- [lwip-devel] [task #6849] Test how checksum on copy could be integrated into the stack, Bill Auerbach, 2010/03/25
- [lwip-devel] [task #6849] Test how checksum on copy could be integrated into the stack, Simon Goldschmidt, 2010/03/25
- [lwip-devel] [task #6849] Test how checksum on copy could be integrated into the stack, Bill Auerbach, 2010/03/25
- [lwip-devel] [task #6849] Test how checksum on copy could be integrated into the stack, Simon Goldschmidt, 2010/03/26