Commit Graph

696 Commits

Author SHA1 Message Date
jani 14574445cf Fix compilation for PPP and for the case when net_drivers package is not added. Initialize loopif, prevent lwip_init being run more than once and fix lwip_set_addr to not chop off the netif_list.All these in init.c for ecos 2003-07-29 14:52:12 +00:00
jani f40f58d75f Add loopif to the ecos port too 2003-07-29 14:48:59 +00:00
jani 0d7a60bb96 Fix sys_mbox_post. Could cause threads to hang waiting for a mbox forever 2003-07-29 14:23:17 +00:00
cborrelli 14f251daee fixed type warning; call to etharp_arp_input 2003-07-27 22:47:12 +00:00
proff_fs bd14ef63dc Finally got it working. Cleaned up in some places, messed more in others. 2003-07-17 15:42:53 +00:00
cborrelli 709626d087 changed requirements for v2pro port 2003-07-16 10:13:50 +00:00
cborrelli 53c1f7d8b2 removed commented-out code for interrupts; this was old code that will no longer work with the current structure 2003-07-02 02:58:06 +00:00
cborrelli d6f3af8fb6 use make instead of gmake to support xygwin 2003-07-01 08:07:54 +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
cborrelli 965aa0854d added license header 2003-06-19 09:53:10 +00:00
cborrelli 184c0e9e0f initial check-in 2003-06-19 09:47:10 +00:00
cborrelli fccd677865 updates to use the XEmacIf_Config arrary that EDK now builds from the hardware description 2003-06-19 09:32:00 +00:00
cborrelli e360f5061f changed return type of xemacif_init from void to err_t 2003-06-11 00:05:18 +00:00
cborrelli e6fa15c6b7 added XEmacIf_Config struct. this will be initialized by the EDK tools during the generation of the library. at run-time, the application will step through a table of these XEmacIf_Config entries and add a netif for each entry. 2003-06-10 23:39:15 +00:00
cborrelli cc469efc7e added BYTE_ORDER define 2003-06-10 23:33:10 +00:00
cborrelli f5bedf9080 changes to meet EDK structure requirements. must put lwIP source under the edkproj/code/liblwip/ directory, or change variables to point to location 2003-06-10 23:31:43 +00:00
kieranm e754426f52 Changed DEBUGF to LWIP_DEBUGF 2003-06-10 10:45:29 +00:00
likewise 39d1e38396 Replaced some tabs with spaces. 2003-06-06 23:14:17 +00:00
likewise 413aa79818 Added tot_len to debug message. 2003-06-05 07:46:22 +00:00
likewise 92b3c41b04 Included ctype.h for isdigit() used in inet.c 2003-06-04 09:32:33 +00:00
jani 2751b94b49 update for latest PPP and sio.change some thread prios.put in ctrlc check 2003-06-02 11:17:04 +00:00
jani fff576d8b8 ppp support for ecos 2003-05-27 14:38:51 +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
likewise daa6d0fa51 cs8900if_init() is now split into _reset() and _init(). Must wait 30 ms inbetween. 2003-05-14 14:20:13 +00:00
jani 735ad93967 Empty protect macros are already defined in sys.h 2003-05-08 08:52:59 +00:00
jani 757087f712 make test not bash specific 2003-05-05 14:56:27 +00:00
proff_fs 9000dbe8d0 More changes, still not working. 2003-05-02 19:43: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 b17012a1e3 Ids gone from tests too 2003-04-30 15:18:19 +00:00
jani 3ee681876e some updates and cleanups 2003-04-30 15:17:07 +00:00
jani 056badf0bd conditionally start tcp and udp apps 2003-04-30 09:05:29 +00:00
jani 5fe219f074 add read and write to sio ops 2003-04-28 10:13:23 +00:00
jani 80c243d2e8 add sio.h 2003-04-17 09:48:20 +00:00
jani ac46366ff3 safer handling of EPK dir. in case user mistypes do not rm -Rf something important 2003-04-14 15:36:56 +00:00
davidhaas 5e3def9494 Added an example program which uses sockets and supports multiple sessions. 2003-04-11 15:21:49 +00:00
davidhaas 0a76b0f5ee Fixed various memory leaks caused by protection issues (and some other
issues).

Also some minor cosmetic changes.
2003-04-09 20:34:51 +00:00
jani 9713f45a02 return -1 instead of 0 in sem_wait and mbox_fetch on timeout 2003-04-07 13:23:36 +00:00
likewise d10e0349e2 Changed 0 to NULL to indicate we are dealing with a pointer. 2003-04-03 10:38:06 +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 a0d1650876 Since coldfire driver always queues buffers on the output dma queue, it must
always call pbuf_take() on each buffer chain.

Added initialization of netif->hwaddr_len.
2003-03-31 21:36:20 +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
likewise ea8787bb01 Made need_service field volatile as it is altered in the ISR. 2003-03-26 12:31:33 +00:00