goldsimon
5c3dfdae68
Ooops, checked in the wrong file before. Damn point-and-click interface... Reverted to v1.1
2007-06-08 22:55:16 +00:00
goldsimon
dac9674c0d
set netif->output to etharp_output by default to save a function call & removed all the xxx_output() functions that directly called etharp_output().
2007-06-08 22:52:59 +00:00
goldsimon
58dcaae372
set netif->output to etharp_output by default to save a function call
2007-06-08 22:44:04 +00:00
goldsimon
719b29c359
Added initialization of per-netif snmp variables for Win32 ethernetif (pktif.c)
2007-06-08 22:13:34 +00:00
goldsimon
537c17c668
Added sys_arch.c to be able to use sys layer and sequential APIs under Win32
2007-05-18 13:26:11 +00:00
goldsimon
79ef1fb324
Updated the Win32 port to work with current CVS HEAD (only NO_SYS=1 yet)
2007-05-18 11:23:21 +00:00
fbernon
ecff69c8da
Contrib module update with new debug defines names
2007-04-05 09:21:12 +00:00
kieranm
4662fd52fc
Don't call lwip_sockets_init() in unix port "minimal" project as it
...
doesn't use the sockets API
2007-03-21 15:33:33 +00:00
jifl
86ced46a3d
Update ports with newly required call to lwip_socket_init().
2007-02-26 20:09:23 +00:00
christiaans
0eed186b78
Fixed initial clearing of collisions counter.
2006-11-29 10:04:47 +00:00
christiaans
f8579b7e60
Replaced tabs with space.
2006-11-17 10:47:07 +00:00
christiaans
a606ea14a9
Exterminate warnings. Changed 64 bit arith into 32 bit and output fmt from decimal to hex.
2006-10-25 07:43:46 +00:00
christiaans
8cef35e840
Added lwip_prvmib.c, an example for a simple private SNMP MIB implementation.
2006-10-06 09:59:46 +00:00
christiaans
85c4b51b50
Initial commit.
2006-10-06 09:57:00 +00:00
christiaans
dbda178e6b
Updated author contact details.
2006-09-27 11:00:42 +00:00
christiaans
e0206839e3
Added getopt as in unixsim and elaborated SNMP init sequence.
2006-09-12 07:11:22 +00:00
christiaans
7043986ef2
Optimized htonl() for speed.
2006-09-06 10:10:09 +00:00
christiaans
13337a460f
Enabled SNMP debugging, new region of interest.
2006-08-29 11:21:24 +00:00
christiaans
922405d4e9
Enabled LWIP_SNMP for development in the 'minimal' example.
2006-08-21 10:21:54 +00:00
christiaans
a40ebbcac3
Fixed missing netif->ts init.
2006-07-14 11:18:29 +00:00
christiaans
a062919acd
Changed SNMP macro glue, passing netif arg.
2006-07-14 10:00:50 +00:00
christiaans
13313485b2
Added stddef include for NULL macro for linux build.
2006-07-03 08:02:43 +00:00
christiaans
14ec6680d2
Fixed missing malloc return value checks.
2006-07-03 07:23:05 +00:00
christiaans
8facfb725a
Added cmd line options for setting ip, netmask and gateway.
2006-07-03 07:21:43 +00:00
christiaans
3ee29c973e
Changed broken select() timeout based timers into setitimer() timers.
2006-07-03 07:16:48 +00:00
christiaans
67ff807e63
Fixed cold case bug #1748 , printing of mem_size_t and u16_t statistics.
2006-06-15 07:09:57 +00:00
christiaans
e89130bd80
Fixed inet_aton() struct in_addr warning and silenced debug output when not selected by --debug.
2006-05-26 07:28:31 +00:00
christiaans
d07438fffe
Fixed rxtx_num size from u16_t to u32_t as reported by Uwe Roth.
2006-05-15 13:16:41 +00:00
christiaans
1fb9e9d885
Disabled ARP table update on ingress IP packets.
2006-05-05 13:35:17 +00:00
christiaans
3cc467e481
Added command line options for debug and ping output.
2006-04-19 07:30:02 +00:00
christiaans
bce92dd2f6
Fixed LWIP_STATS defined test to value test.
2006-04-19 07:19:38 +00:00
christiaans
44e63bac05
Added LWIP_PLATFORM_BYTESWAP inlines.
2006-03-29 12:15:05 +00:00
christiaans
ba840c6756
More agressive speed optimalisation of cs8900_input(), reading 4 words per input loop iteration.
2006-03-29 12:12:13 +00:00
christiaans
8bb26656a1
Added -pedantic switch.
2006-03-15 11:40:18 +00:00
christiaans
482a2eacea
cs8900_output() Moved 32bit sent_bytes addition outside output loop.
2006-03-07 15:33:58 +00:00
christiaans
ac8a138cd5
Added IP fragmentation and etharp_tmr service.
2006-03-02 16:28:49 +00:00
christiaans
6f7ff08674
Added hint for linux device node.
2006-02-28 13:13:15 +00:00
christiaans
ca3b54ecb7
Undo of previous commit. Timers should be fixed in seq API instead.
2006-02-28 08:27:55 +00:00
christiaans
f01fa48eec
Removed tabs, added netconn_close().
2006-02-28 08:23:22 +00:00
christiaans
171676162e
Added tcp_tmr() and ip_reass_tmr(). Timers are required for correct operation.
2006-02-13 08:22:34 +00:00
christiaans
05b95f0d2a
Fixed missing MTU setting in netif initialisation. Related to bug #15659 .
2006-02-10 08:17:41 +00:00
christiaans
e32c8ca65f
Fixed packet buffer length to eth header plus payload.
2006-02-08 08:03:42 +00:00
christiaans
332072de60
Small optimalization for cs8900_input().
2006-01-03 10:09:07 +00:00
christiaans
9700fe9b69
Removed comma at enumeration tail, avoiding warnings.
2005-12-20 12:54:19 +00:00
christiaans
8de173efc8
Introduced cc.h formatters.
2005-12-08 08:20:07 +00:00
christiaans
b89160f34e
Introduced cc.h formatters.
2005-11-25 12:04:21 +00:00
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
ming
e17ac1ad2b
Update the driver in "ti_c6711", using QDMA of C6000 DSP now, which is much faster. [2005.11.07 by Ming]
2005-11-07 00:50:49 +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
ming
14261143e0
Add the arch files for "ti_c6711", that's a 32bit DSP. [2005.01.29 by Ming]
2005-01-29 15:19:20 +00:00
jani
9474594fde
don't append ecos copyrigh headers to files which already have BSD copyright
2004-11-09 12:49:07 +00:00
jani
ca61fd54af
minor updates in CDL
2004-11-09 11:17:37 +00:00
christiaans
786ac1d722
Fixed frame pad size and compiler warning.
2004-10-29 08:54:45 +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
jani
5dee3e2347
add network.h for compatib with ecos BSD stacks
2004-03-26 13:33:27 +00:00
jani
f0be87dca0
add sys_timeout test
2004-03-26 13:32:51 +00:00
jani
6e1589ddca
misc small warning fixes
2004-03-26 13:31:39 +00:00
jani
17ec2ad379
slip set default route fix from Oyvind Harboe
2004-03-22 08:36:46 +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
likewise
af2ea959ea
Fix non-compiling code for frame padding.
2004-03-04 16:28:51 +00:00
likewise
737bdc86d4
Removed #error TODO: on the minimal Ethernet frame size.
2004-03-04 12:35:14 +00:00
marcbou
f606ec6bc1
fixed minor grammatical error.
2004-02-15 23:08:04 +00:00
jani
b2c8429c30
io eth patch no longer required
2004-01-19 11:46:10 +00:00
jani
6990895759
define fix
2004-01-09 15:47:29 +00:00
jani
9156646ce4
minor cleanup,use rign ifdef
2004-01-09 15:36:06 +00:00
jani
b4f277007f
hopefully better defaults for some tunables
2004-01-09 14:50:40 +00:00
jani
549f86f45f
make ethernet optional, settable eth input thread priority
2004-01-09 09:16:02 +00:00
jani
60e2d4bfbc
silence some more warnings in the test apps
2004-01-06 18:45:51 +00:00
jani
ab392ac737
reduce stack size for tcpecho test to 4K
2004-01-05 15:33:22 +00:00
jani
0f370aeabe
prototype of diag_printf
2004-01-05 15:32:27 +00:00
jani
ef3519f98f
fix ppp_trace()
2004-01-05 15:31:35 +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
724f2089d5
update ecos to netif_add, configurable loopif, and more cdl options
2003-11-24 08:31:04 +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
ca68dbbbae
cs8900if_output() now returns error codes.
2003-11-18 01:32:27 +00:00
likewise
85a773067b
Added dhcp.c to the Makefile
2003-11-17 23:44:54 +00:00
likewise
d3e72d9ad5
Added a single comment.
2003-11-15 00:51:37 +00:00
likewise
a4d62b8fa5
Fixed bug #2171 . Ethernet drivers open to buffer padding vulnerability.
2003-11-14 10:10:05 +00:00
jani
888c68106b
fix some compilation warnings
2003-11-04 12:41:56 +00:00
jani
acbd02dde8
for ecos port: conditionally compile udp, add raw.c, fix warning in sys_arch
2003-11-04 12:32:25 +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
5a8fd52c3d
Fixed a small typo, mainly to test commit email notification.
2003-10-06 13:56:07 +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
jani
2a968d2b17
Mem corruption fix in cyg_arch_mbox_get from Claudio Leonel
2003-09-18 07:28:15 +00:00
jani
48ec31d02c
make PAP and CHAP optional
2003-09-16 14:33:52 +00:00
jani
53969f830f
Do not add ecos copyright text to PPP sources since the two licenses conflict
2003-09-16 14:13:16 +00:00
jani
3b8a1def42
Add ecos copyright headers to sources
2003-09-16 13:26:44 +00:00
jani
53ffbd1ff3
EFAULT not defined in ecos but used in sockets.c
2003-09-15 09:07:49 +00:00
jani
97bece84c1
Add raw socket support to ecos port
2003-09-15 08:40:13 +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
likewise
2b9f6756f4
Fixed snmp.h include path. Clearified comment.
2003-08-15 08:35:05 +00:00
likewise
b126da7b93
Enabled the loop that waits for hardware reset to finish.
2003-08-15 08:14:56 +00:00
proff_fs
917ba3f006
Added missing pktdrv.c.
2003-08-07 12:27:11 +00:00
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
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
likewise
6f084400d0
Replaced some // comments with /* */
2003-03-25 14:19:00 +00:00
likewise
9503439bd6
Generated level 1 debug messages on collided and missed rx packets.
2003-03-24 10:57:12 +00:00
jani
8ec8b9225c
update ecos port
2003-03-24 09:19:25 +00:00
proff_fs
27ffeae406
Fixed compilation.
2003-03-21 16:56:05 +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
1b789f74aa
change STATS to LWIP_STATS and modifications in lwipopts.h
2003-03-19 12:46:37 +00:00
likewise
18dba6fc2a
Added err_t return values for cs8900 initialization functions.
2003-03-11 14:17:18 +00:00
cborrelli
2e994cd300
initial check-in
2003-03-08 02:49:00 +00:00
cborrelli
7d5a4db0e7
adding perf_init function; empty for now
2003-03-08 02:42:24 +00:00
cborrelli
7861c8aa8e
changes to account for updated Xilinx drivers in the Xilinx Embedded Development Kit (EDK); also changes to sync up with the latest etharp changes
2003-03-08 02:40:31 +00:00
cborrelli
2c377d7dd9
added perf_init function declaration
2003-03-08 02:38:14 +00:00
cborrelli
992703d54f
initial check-in - for generating a stand-alone library; requires Xilinx EDK libraries
2003-03-08 02:35:40 +00:00
jani
683a598138
C style comments
2003-03-07 15:00:41 +00:00
jani
c1d9d1e71f
Spelling fixes from Marc Boucher
2003-03-07 13:40:31 +00:00
cborrelli
1c8808e73f
removed unused file lib.h
2003-03-06 02:25:16 +00:00
jani
9ef973cc4e
do not put CVS files in the epk
2003-03-05 14:20:20 +00:00
jani
9ac27f9860
add patch against ecos needed for the glue to wotk
2003-03-01 10:47:38 +00:00
jani
d9d0f12c61
Add eCos glue.
2003-02-28 14:29:13 +00:00
jani
782a790c07
remove unnecessary includes to avoid conflicting ntoh() declarations
2003-02-28 11:23:00 +00:00
davidhaas
a9749edff8
Fixed build for coldfire after last debug.h and opt.h changes.
2003-02-25 21:46:24 +00:00
jani
d5be11334f
SYS_ARCH_PROTECT_XXX macros noops for now to get it to compile.I don't know whether anything is required here
2003-02-21 16:35:23 +00:00
jani
489fc69cce
updated netif init functions to return err_t
2003-02-20 16:24:39 +00:00
likewise
a8d105875b
Added LWIP_PLATFORM_ macros.
2003-02-19 16:04:18 +00:00
davidhaas
7d1204e144
Fixed SYS_ARCH_PROTECT macros when NO_SYS is not defined.
...
Added documentation for lightweight protection.
Fixed debug statement in ip.c.
Removed tabs in files I changed.
2003-02-18 21:14:26 +00:00
davidhaas
f87520e049
Allow minimal unix target to build in cygwin (but not necessarily run).
...
Applied a patch from Marc Boucher which has the following changes:
1) Fixed sys_arch.txt documentation to have new return type from
sys_thread_new.
2) Removed unnecessary casts on calling sys_timeout() in certain files.
3) Removed some unnecessary break statements after return statements.
4) Changed sys_timeout_remove() to sys_untimeout().
5) Added some forgotten #ifndef SYS_LIGHTWEIGHT_PROT to memp.c
6) Changed LWIP_DIAG and LWIP_PLATFORM_ASSERT to have do while().
2003-02-18 19:27:08 +00:00
davidhaas
77f2c43b58
Improvments I need for DEBUGF. Won't affect anyone else.
2003-02-12 22:02:02 +00:00
davidhaas
68db26a7ab
Made sys_arch_prot() interface more generic by returning sys_prot_t instead
...
of u32_t.
2003-02-12 16:38:57 +00:00
davidhaas
eef68488bc
Fix some compile issues with both coldfire and unix builds.
2003-02-12 15:09:15 +00:00
davidhaas
ae49c020d7
sys_thread_new() now returns the thread (request from Marc Boucher).
...
Removed some unused .h files in coldfire port.
Support LWIP_DIAG and LWIP_ASSERT in coldfire (sort of).
Fix to last api fix to make sure select() is triggered, even when there has
been a FIN.
Allow build of unixsim from cygwin by specifying "make ARCH=cygwin" or from
linux by specifying "make ARCH=linux".
2003-02-11 20:59:49 +00:00
jani
d33bf3a9e2
list.h is gone remove #includes
2003-02-11 09:09:46 +00:00
likewise
f0cda3661d
Added commented code for upcoming merge with leon-dhcp.
2003-02-10 23:29:15 +00:00
jani
ebb997051d
put platform specific debug and assert in cc.h.Also put byte-order #define here.Delete files cpu.h,lib.h and init.h
2003-02-10 11:13:51 +00:00
davidhaas
6929a67489
Add the following features and bugfixes:
...
Added select() functionality to sockets library.
Support for errno in sockets library.
Byte ordering fixes.
basic lwip_ioctl(), FIONREAD, get/setsockopt() etc. support
- added additional argument to netif_add to pass state pointer so that the
if_init function has access to context information before
the interface is added, without accessing globals.
- added netif_remove()
- to conserve cpu load the tcpip_tcp_timer should only be active
when tcbs that need it exist.
- pass length of available data to callbacks for NETCONN_EVT_RCV events
- added tcpip_link_input(), a hack to allow processing of PPP
packets in tcpip_thread() context. This saves threads and context
switches.
- renamed incompatible ASSERT() macro to LWIP_ASSERT() to avoid name
collision.
- changed a bunch of %d's to %u's in format strings for unsigned values.
- added ip_frag to lwip_stats.
- changed IP_REASS_MAXAGE and IP_REASS_TMO defaults to more realistic
values.
- added sys_timeout_remove() function to cancel timeouts (needed by PPP
amongst other things).
- tolerate NULL returns from sys_arch_timeouts() since some threads might
not need to use or have timeouts.
- added sys_sem_wait_timeout()
- moved mem_malloc() function to end of mem.c to work around tasking
compiler bug.
- automatically bind to local tcp port if 0.
- allow customization of port ranges for automatic local bindings.
- corrected various typos, spelling errors, etc..
Thanks to Marc Boucher for many of these changes.
2003-02-06 22:18:30 +00:00