[Top][All Lists]

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

Re: [lwip-devel] [task #14807] tcp input: try to not write to the rx pbu

From: Bernhart Pelger
Subject: Re: [lwip-devel] [task #14807] tcp input: try to not write to the rx pbuf
Date: Wed, 10 Jan 2018 16:59:31 +0100
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.5.2

While the byte-flips could be made on-the-fly, the ooseq code also writes to
the flags field in the tcp header using TCPH_SET_FLAG macro.

For this, there's no simple solution. Maybe storing the tcp flags in the tcp_seg structures,
and then redirect every read access to there...

Am 10.01.2018 um 15:25 schrieb Simon Goldschmidt:

                  Summary: tcp input: try to not write to the rx pbuf
                  Project: lwIP - A Lightweight TCP/IP stack
             Submitted by: goldsimon
             Submitted on: Wed 10 Jan 2018 02:25:20 PM UTC
                 Category: None
          Should Start On: Wed 10 Jan 2018 12:00:00 AM UTC
    Should be Finished on: Wed 10 Jan 2018 12:00:00 AM UTC
                 Priority: 3 - Low
                   Status: None
                  Privacy: Public
         Percent Complete: 0%
              Assigned to: None
              Open/Closed: Open
          Discussion Lock: Any
          Planned Release: None
                   Effort: 0.00



tcp writes into rx pbufs (at least network byte order flips). Let's try to
change this. I don't know if it works at all (regarding ooseq, especially) ->
low prio


Reply to this item at:


   Message sent via/by Savannah

lwip-devel mailing list

reply via email to

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