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: Sun, 14 Mar 2010 12:30:13 +0000
User-agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; de; rv:1.9.2) Gecko/20100115 Firefox/3.6

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

When implementing udp_send_chksum, to prevent duplicating code, we'd have to
separate calculating the checksum of (pbuf-)data from calculating the header
checksum. Then, udp_send would first calculate the checksum and then go the
same path as udp_send_checksum.

We might then want to create an inet_chksum_pseudo that operate on a
void-pointer instead of a pbuf, since headers area always in the first pbuf
(old inet_chksum_pseudo is still used for RX).

tcp_write_chksum is slightly harder to implement as it we cannot split the
data into segments as we want but have to create new segments based on the
given data length.

    _______________________________________________________

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]