Commit Graph

24 Commits

Author SHA1 Message Date
Simon Goldschmidt
b833b173cc Fixed bug #35874 reserved identifier violation (removed leading underscores from header include guards) 2014-05-19 21:58:36 +02:00
Simon Goldschmidt
cc786efa73 unixsim: change lwipopts.h to not break init.c sanity checks 2012-02-23 19:00:59 +01:00
Kieran Mansley
3a5de6effd Bug34596: remove LWIP_TIMEVAL_PRIVATE setting from unix project lwipopts.h 2011-11-01 12:57:57 +00:00
kieranm
bddf652073 Update unix port to 1.3.0 before release 2008-01-15 13:10:51 +00:00
goldsimon
ea3f796c6c Make unix port buildable with changes to sockets.h (include sys/time.h in cc.h only and define LWIP_TIMEVAL_PRIVATE to 0 in lwipopts.h to use unix struct timeval instead of defining an own struct) 2007-12-02 15:26:35 +00:00
goldsimon
8f1eaa5226 Fixed some warnings, added new includes, added new defines in lwipopts.h 2007-11-25 14:09:16 +00:00
fbernon
24c826defe Remove deprecated options from contrib for "task #7142 : Sanity check user-configurable values". 2007-09-07 23:28:54 +00:00
fbernon
ecff69c8da Contrib module update with new debug defines names 2007-04-05 09:21:12 +00:00
christiaans
922405d4e9 Enabled LWIP_SNMP for development in the 'minimal' example. 2006-08-21 10:21:54 +00:00
christiaans
3cc467e481 Added command line options for debug and ping output. 2006-04-19 07:30:02 +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
likewise
a038205c64 Removed ETHARP_ALWAYS_INSERT. 2004-04-28 23:24:43 +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
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
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
jani
1b789f74aa change STATS to LWIP_STATS and modifications in lwipopts.h 2003-03-19 12:46:37 +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
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