lwip/src/core
davidhaas 32d9f25a6f 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.
2003-03-19 22:14:49 +00:00
..
ipv4 Fixed up and made work a PBUF_REF type. Most of the code uses this now 2003-03-19 22:14:49 +00:00
ipv6 icmp messages need only PBUF_IP layer 2003-02-25 16:00:21 +00:00
dhcp.c pbuf_unfold_reply() lost memory if already unfold. 2003-03-16 22:36:54 +00:00
inet6.c byte-order handling functions are in inet.c now and the uperrcase counterparts are gone. opt.h has all the 2003-02-21 16:43:46 +00:00
inet.c Make sure that BYTE_ORDER is actually defined. Panic with #error if not. 2003-03-10 16:12:41 +00:00
mem.c byte-order handling functions are in inet.c now and the uperrcase counterparts are gone. opt.h has all the 2003-02-21 16:43:46 +00:00
memp.c cleaned up opt.h a bit, added more option defaults ad changed SYS_LIGHTWEIGHT_PROT to be a 0/1 define.The same for COMPAT_SOCKET 2003-02-24 10:49:05 +00:00
netif.c Added source comments. 2003-03-13 08:50:04 +00:00
pbuf.c Fixed up and made work a PBUF_REF type. Most of the code uses this now 2003-03-19 22:14:49 +00:00
stats.c rename STATS to LWIP_STATS and make it checked by #if not #ifdef.The rest of the _STATS defines should follow 2003-03-19 12:37:46 +00:00
sys.c byte-order handling functions are in inet.c now and the uperrcase counterparts are gone. opt.h has all the 2003-02-21 16:43:46 +00:00
tcp_in.c Using a negated unsigned value as func. arg. fails for Keil C166 compilers. 2003-03-16 22:39:15 +00:00
tcp_out.c Fixed up and made work a PBUF_REF type. Most of the code uses this now 2003-03-19 22:14:49 +00:00
tcp.c Fixed up and made work a PBUF_REF type. Most of the code uses this now 2003-03-19 22:14:49 +00:00
udp.c Fixed up and made work a PBUF_REF type. Most of the code uses this now 2003-03-19 22:14:49 +00:00