lwip-commits
[Top][All Lists]
Advanced

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

[lwip-commits] lwip/src api/api_lib.c core/pbuf.c core/tcp.c c...


From: David Haas
Subject: [lwip-commits] lwip/src api/api_lib.c core/pbuf.c core/tcp.c c...
Date: Wed, 19 Mar 2003 17:14:49 -0500

CVSROOT:        /cvsroot/lwip
Module name:    lwip
Changes by:     David Haas <address@hidden>     03/03/19 17:14:49

Modified files:
        src/api        : api_lib.c 
        src/core       : pbuf.c tcp.c tcp_out.c udp.c 
        src/core/ipv4  : ip_frag.c 
        src/netif      : etharp.c 

Log message:
        Fixed up and made work a PBUF_REF type. Most of the code uses this now
        instead of PBUF_ROM. This addition allows support of copy-on-demand 
where the
        lower layers can call pbuf_unref() which tests for any PBUF_REF buffers 
and
        replaces them with PBUF_POOL buffers. This is now used
        everywhere. pbuf_unref() is called in ARP queueing and in the coldfire
        driver, which puts frames on a DMA queue and frees them later.
        
        Along with this change pbuf_free() now goes through the entire chain of
        buffers and tests all the ref counters, not just the first one. 
Generally now
        pbuf_ref_chain() should be called and not pbuf_ref(). This change was 
made
        because it is possible for the head of the pbuf chain to have a 
different
        count than the payload pbuf which might have been passed by the 
application.

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/lwip/lwip/src/api/api_lib.c.diff?tr1=1.9&tr2=1.10&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/lwip/lwip/src/core/pbuf.c.diff?tr1=1.16&tr2=1.17&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/lwip/lwip/src/core/tcp.c.diff?tr1=1.17&tr2=1.18&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/lwip/lwip/src/core/tcp_out.c.diff?tr1=1.14&tr2=1.15&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/lwip/lwip/src/core/udp.c.diff?tr1=1.24&tr2=1.25&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/lwip/lwip/src/core/ipv4/ip_frag.c.diff?tr1=1.7&tr2=1.8&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/lwip/lwip/src/netif/etharp.c.diff?tr1=1.32&tr2=1.33&r1=text&r2=text





reply via email to

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