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
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
13313485b2
Added stddef include for NULL macro for linux build.
2006-07-03 08:02:43 +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
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
8bb26656a1
Added -pedantic switch.
2006-03-15 11:40:18 +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
9700fe9b69
Removed comma at enumeration tail, avoiding warnings.
2005-12-20 12:54:19 +00:00
christiaans
b89160f34e
Introduced cc.h formatters.
2005-11-25 12:04:21 +00:00
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
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
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
173949af92
Patch #1622 . Resync stat_msgs[] to lwip_stats struct.
2003-06-19 10:18:05 +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
056badf0bd
conditionally start tcp and udp apps
2003-04-30 09:05:29 +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
jani
c1d9d1e71f
Spelling fixes from Marc Boucher
2003-03-07 13:40:31 +00:00
jani
782a790c07
remove unnecessary includes to avoid conflicting ntoh() declarations
2003-02-28 11:23:00 +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
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
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
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
edd18aad86
add unix projects to contrib module
2003-01-31 13:35:43 +00:00