[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: Bill Auerbach
Subject: [lwip-devel] [task #6849] Test how checksum on copy could be integrated into the stack
Date: Wed, 06 May 2009 20:58:15 +0000
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv: Gecko/2009042316 Firefox/3.0.10

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

I can help out on this task.  We can have our hardware stream data and
generate checksums while copying the data.  My idea was to have it drop 0 to
pcb->mss bytes into memory with a u16_t word following, which is the checksum
of the packet.  If a tcp_enqueue_with_checksum existed which took up to
pcb->mss and the checksum for the data being sent, then a packet could be
queued inserting the checksum in the header.

Posts here mention UDP - I suspect the same thing has to be done.  A call at
some level passing in a precalculated checksum.



Reply to this item at:


  Message sent via/by Savannah

reply via email to

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