lwip-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lwip-devel] [task #7040] Work on tcp_enqueue


From: Jakob Stoklund Olesen
Subject: [lwip-devel] [task #7040] Work on tcp_enqueue
Date: Tue, 03 Feb 2009 09:28:34 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.5) Gecko/2008121622 Ubuntu/8.10 (intrepid) Firefox/3.0.5

Follow-up Comment #14, task #7040 (project lwip):

OK, second attempt: The attached patch tcp-enqueue-split splits tcp_enqueue
into two separate functions for data and options.

This patch is against CVS HEAD and replaces the previous tcp-enqueue-concat
patch.

- tcp_enqueue_data does proper TCP segmentation.

- tcp_enqueue_data has static linkage and will be inlined in tcp_write by a
savvy compiler.

- tcp_enqueue_options fixes a bug where sending a FIN with snd_buf==0 would
underflow snd_buf.

This change increases the tcp_out code size from 5356 to 5616 bytes on a
Blackfin.


(file #17393)
    _______________________________________________________

Additional Item Attachment:

File name: tcp-enqueue-split              Size:25 KB


    _______________________________________________________

Reply to this item at:

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

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





reply via email to

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