Commit Graph

16 Commits

Author SHA1 Message Date
goldsimon
2bb8f85116 Unix port: fixed compilation after moving timeout handling to timers.c; fixed some threading- and other issues with initialization 2010-01-07 10:21:13 +00:00
kieranm
bddf652073 Update unix port to 1.3.0 before release 2008-01-15 13:10:51 +00:00
jifl
18a8963351 * lwipopts.h: Reflect IP_OPTIONS -> IP_OPTIONS_ALLOWED name change. 2008-01-09 10:16:57 +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
557ffae7ea Added new files netdb.h and netdb.c to unix & win32 ports 2007-11-24 16:18:21 +00:00
goldsimon
797387c936 Added the new inet_chkusm.c file, included moved inet.c. Hope this works as I have no possibility to check it... 2007-11-16 19:41:33 +00:00
jifl
6f9aed6e0b Add new src/api/netbuf.c file to makefiles 2007-09-21 13:25:06 +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
jifl
86ced46a3d Update ports with newly required call to lwip_socket_init(). 2007-02-26 20:09:23 +00:00
kieranm
e2e13d3e30 Updated STATS definitions to follow convention of "#if" rather than
"#ifdef"
2005-06-29 20:39:49 +00:00
likewise
a038205c64 Removed ETHARP_ALWAYS_INSERT. 2004-04-28 23:24:43 +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
c1d9d1e71f Spelling fixes from Marc Boucher 2003-03-07 13:40:31 +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
jani
edd18aad86 add unix projects to contrib module 2003-01-31 13:35:43 +00:00