Commit Graph

20 Commits

Author SHA1 Message Date
christiaans
d95d7cd960 Made util.h depend on openbsd, to fix linux build. 2005-11-08 12:36:17 +00:00
christiaans
967f8aa38e A few small build fixes for unixsim. 2005-11-08 12:00:45 +00:00
christiaans
ca90f6fce9 Some build fixes for OpenBSD. 2005-10-10 07:25:35 +00:00
kieranm
dd1265444f Kieran Mansley, kieranm@gtemail.net, 10th Aug 2004
- Comment out #includes of netnet/in.h and arpa/inet.h to avoid reported redefinitions
2004-08-10 14:06:19 +00:00
likewise
5acf6d24d5 Made compliant with API changes in CVS HEAD. 2004-05-05 18:47:21 +00:00
marcbou
b1defea1d6 Added authType to pppSetAuth() and CHAP client support
(build unix port with -DLWIP_PPP_CHAP_TEST to test it)
2003-06-27 19:37:16 +00:00
marcbou
751297c61b Added PPP support to unix port. Works over serial or pseudo-tty, talking
to the host's pppd.
2003-06-19 11:42:56 +00:00
marcbou
01c8eeed90 Patch #1621: Add tcpdump() calls to pcapif tapif, improve tcpdump_init(). 2003-06-19 10:47:44 +00:00
kieranm
e754426f52 Changed DEBUGF to LWIP_DEBUGF 2003-06-10 10:45:29 +00:00
jani
77ebfac7d0 set hwaddr_len field 2003-05-27 13:35:08 +00:00
likewise
b4eaa5a113 Major stylo search/replace for "One space between keyword and opening bracket." 2003-05-01 13:27:52 +00:00
jani
faa3747c04 better error reporting in tapif, patch from Marc 2003-05-01 09:08:35 +00:00
davidhaas
b484f95228 In keeping with pbuf->ref always having the count of the number of pointers
to the particular buffer (and the last rewrite of pbuf_free), changed most
pbuf_ref_chain() calls back to pbuf_ref(). I think this was causing some pbuf
leaks.
2003-03-31 22:10:09 +00:00
davidhaas
0a46ef6af4 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.

Coldfire ethernet driver also had some minor other updates and STATS was
changed to LWIP_STATS.
2003-03-19 22:16:31 +00:00
jani
0749599eab the contrib part of thread priority patch by floriZ.Also take out unused unix netifs from unixsim makefile for now 2003-03-19 15:28:31 +00:00
jani
489fc69cce updated netif init functions to return err_t 2003-02-20 16:24:39 +00:00
davidhaas
eef68488bc Fix some compile issues with both coldfire and unix builds. 2003-02-12 15:09:15 +00:00
jani
d33bf3a9e2 list.h is gone remove #includes 2003-02-11 09:09:46 +00:00
davidhaas
3cbe86d8a7 Added lightweight protection. In coldfire this is implemented by disabling
interrupts. In unixsim this is implemented by using a mutex. Uses #define
SYS_LIGHTWEIGHT_PROT to enable. It is enabled in coldfire by default, but
disabled in unixsim.

Fixes bug 2005 if you enable SYS_LIGHTWEIGHT_PROT. So the bug is closed.
2003-02-04 22:52:01 +00:00
jani
b63196d62a Add Unix port 2003-01-18 18:18:02 +00:00