|
From: | Bill Auerbach |
Subject: | [lwip-devel] [task #6849] Test how checksum on copy could be integrated into the stack |
Date: | Thu, 25 Mar 2010 18:47:38 +0000 |
User-agent: | Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2) Gecko/20100115 Firefox/3.6 (.NET CLR 3.5.30729) |
Follow-up Comment #29, task #6849 (project lwip): I meant to reply but it got away from me. I see the problem you describe. If the checksum is set for the pbuf->payload, don't call pbuf_header but create a new pbuf for the header and chain to the checksummed pbuf. It's more work, but the checksum savings far offsets handling a chain. Mine works this way - the pbuf head is the IP and UDP header and I chain the UDP (pre-checksummed) pbuf to it. It happened by itself because the pbuf_header failed and the current code allocates and appends when the pbuf_header fails. _______________________________________________________ Reply to this item at: <http://savannah.nongnu.org/task/?6849> _______________________________________________ Message sent via/by Savannah http://savannah.nongnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |