[Top][All Lists]

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

[lwip-devel] [task #6861] Pimp ip_frag.c

From: Simon Goldschmidt
Subject: [lwip-devel] [task #6861] Pimp ip_frag.c
Date: Wed, 09 May 2007 07:27:14 +0000
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv: Gecko/20070309 Firefox/


                 Summary: Pimp ip_frag.c
                 Project: lwIP - A Lightweight TCP/IP stack
            Submitted by: goldsimon
            Submitted on: Mittwoch 09.05.2007 um 07:27
                Category: None
         Should Start On: Mittwoch 09.05.2007 um 00:00
   Should be Finished on: Mittwoch 09.05.2007 um 00:00
                Priority: 1 - Later
                  Status: None
                 Privacy: Public
        Percent Complete: 0%
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any
                  Effort: 0.00



- segments could be "queued" as pbufs so no copy is needed (memcpy to
reassbuf could be avoided)
- reassembled packets could be given to ip_input as a pbuf chain (memcpy from
reassbuf could be avoided)
- that way, we could easily allow more than one fragmented IP packet to be
reassembled at a time (e.g. different source hosts / packets lost...)

- care might have to be taken that ip_input() can cope with chained pbufs
(but I think that shouldn't be a problem)

- copy_from_pbuf is roughly the same as netbuf_copy_partial. both could be
moved into one function residing in pbuf.c to reduce code footprint


Reply to this item at:


  Nachricht geschickt von/durch Savannah

reply via email to

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