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: Jonathan Larmour
Subject: [lwip-devel] [task #6849] Test how checksum on copy could be integrated into the stack
Date: Fri, 04 May 2007 10:23:49 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.13) Gecko/20060513 Fedora/1.0.8-1.1.fc3.1.legacy Firefox/1.0.8

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

For UDP pbufs that need to be copied this is sensible, but for TCP it's more
difficult - what you enqueue doesn't necessarily correspond to what gets sent
- each time you enqueue something you may be adding it to an existing segment,
and you don't want to have to recalculate the checksum each time something is
queued.

OOI, some network hardware, nevermind network drivers, have hardware assist
for checking checksums. But  in both cases that's already handled in lwIP
with e.g. disabling CHECKSUM_GEN_TCP and/or CHECKSUM_CHECK_TCP. So if someone
wants to write a driver that checks the checksum on receive, I think they have
what they need from lwIP to do that.


    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/





reply via email to

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