lwip-devel
[Top][All Lists]
Advanced

[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:1.8.1.3) Gecko/20070309 Firefox/2.0.0.3

URL:
  <http://savannah.nongnu.org/task/?6861>

                 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

    _______________________________________________________

Details:

- 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:

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

_______________________________________________
  Nachricht geschickt von/durch Savannah
  http://savannah.nongnu.org/





reply via email to

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