Commit Graph

69 Commits

Author SHA1 Message Date
christiaans
967f8aa38e A few small build fixes for unixsim. 2005-11-08 12:00:45 +00:00
christiaans
8b6c9a5035 Fixed pbuf leak, improved echo_send() throughput. 2005-10-31 08:21:39 +00:00
christiaans
43e9947345 Disabled debug output, renamed executable. 2005-10-31 08:20:15 +00:00
christiaans
d81bc3571d Rewrite using raw API, not stable yet. 2005-10-27 07:15:32 +00:00
christiaans
60022e1687 Increased availability by removing TCP active-close show-stopper. Leaving pbuf memory leak in for now. 2005-10-12 11:03:58 +00:00
christiaans
ca90f6fce9 Some build fixes for OpenBSD. 2005-10-10 07:25:35 +00:00
kieranm
e2e13d3e30 Updated STATS definitions to follow convention of "#if" rather than
"#ifdef"
2005-06-29 20:39:49 +00:00
kieranm
a2b51bf5f1 Kieran Mansley, kieranm@gtemail.net, 10th Aug 2004
- Pass a "struct netif" to netif_add - API has changed at some point and this file not updated.
2004-08-10 14:08:17 +00:00
kieranm
9bae01c0b6 Kieran Mansley, kieranm@gtemail.net, 10th Aug 2004
- Add unixif.c and list.c to Makefile so simrouter and simnode will compile
2004-08-10 14:07:16 +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
kieranm
ce67f2094f Kieran Mansley - kjm25@cam.ac.uk - 29th July 2004
* Fixed DEBUG statement that could attempt to dereference a NULL pointer in sys_arch_mbox_fetch()
2004-07-29 09:37:46 +00:00
likewise
c2c5ae818a Made compliant with API changes in CVS HEAD. 2004-05-05 18:47:22 +00:00
likewise
5acf6d24d5 Made compliant with API changes in CVS HEAD. 2004-05-05 18:47:21 +00:00
likewise
80bf73178b Added missing newline at end of file. 2004-05-03 17:59:35 +00:00
likewise
33f6e1f9ce Added missing rototype for echo.c function in new header file echo.h. 2004-04-29 21:52:25 +00:00
likewise
a038205c64 Removed ETHARP_ALWAYS_INSERT. 2004-04-28 23:24:43 +00:00
likewise
22797a10a5 Added raw.c to Makefile 2004-03-11 19:53:36 +00:00
jani
d510a9d4de update simhost so it builds. inet_ntoa and netif_add changed 2004-03-10 13:26:34 +00:00
jani
97f1b8d8f1 add raw pcbs to statistics 2003-12-03 12:36:20 +00:00
jani
373dd95fc5 make simrouter match new netif_add prototype 2003-11-24 15:34:29 +00:00
jani
69a46d6e39 followup to unixlib and msvc updated wrt netif_add.declare a var not just the struct 2003-11-24 08:58:08 +00:00
jani
ae4801c910 unixlib and msvc updated wrt netif_add 2003-11-24 08:54:46 +00:00
jani
8c1d3a4f9f update unixsim to new netif_add 2003-11-24 08:26:26 +00:00
jani
2cd6a0e106 update minimal to new netif_add 2003-11-24 08:24:55 +00:00
jani
fd5e3abadb fix stats defs 2003-11-24 08:11:32 +00:00
jani
005622e17a set hw_addr_len in mintapif 2003-11-24 08:06:49 +00:00
likewise
85a773067b Added dhcp.c to the Makefile 2003-11-17 23:44:54 +00:00
jani
af5cf38bea do not define all STAT opts they default to 1 if LWIP_STATS is 1 2003-10-28 11:42:10 +00:00
jani
52c01f0a10 fix compilation when LWIP_STATS is 0 2003-10-28 10:28:02 +00:00
likewise
0227d13f35 Made compilable with 0.6.4. 2003-10-02 22:47:25 +00:00
kieranm
46f5dc4176 Fixed bug #4988 (change return type of mintapif_init) 2003-09-20 15:08:38 +00:00
kieranm
e0d4e1737d Changes from Patch #1871 (more Raw IP functionality) 2003-09-10 17:17:52 +00:00
kieranm
fe4ff6b8a4 Added patch #1756 (with a couple of modifications) to provide raw IP functionality 2003-08-20 16:47:31 +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
6f13218b2e Added TCP_INPUT_DEBUG and TCP_OUTPUT_DEBUG (under #if 0) 2003-06-19 14:50:10 +00:00
marcbou
dc6233a674 Use TCP_TMR_INTERVAL instead of hardcoded 100 as time value for mintapif_wait() 2003-06-19 14:48:49 +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
marcbou
173949af92 Patch #1622. Resync stat_msgs[] to lwip_stats struct. 2003-06-19 10:18:05 +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
jani
cab5828518 patches 149{2,3,4} from Marc 2003-05-19 14:45:02 +00:00
jani
735ad93967 Empty protect macros are already defined in sys.h 2003-05-08 08:52:59 +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
jani
056badf0bd conditionally start tcp and udp apps 2003-04-30 09:05:29 +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
0a27425c3e Made lwip timeout measurements accurate by no longer returning 1 millisecond
whenever sys_arch_mbox_wait() and sys_arch_sem_wait() get a message or
semaphore immediately. Updated documentation for this change.
Unix port and Coldfire port have been updated.
2003-03-28 20:47:10 +00:00
davidhaas
2afa3c2f95 Fixed minor compile issues. 2003-03-28 19:46:22 +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