Commit Graph

8 Commits

Author SHA1 Message Date
Sylvain Rochet
3e5dca9bfb UNIX port, SIO, updated port the way it was intended to be done
* renamed sio_ functions to sio_unix_ to prevent collision with lwIP
  SIO core functions.
* using #define sio_* sio_unix_* to prevent function redefinition
2014-12-24 21:37:30 +01:00
goldsimon
6d4e09ea3c bug #35874 reserved identifier violation, 2nd part in even more files 2014-05-20 12:30:59 +02:00
Simon Goldschmidt
b833b173cc Fixed bug #35874 reserved identifier violation (removed leading underscores from header include guards) 2014-05-19 21:58:36 +02:00
goldsimon
eda6db6ebc Adapted win32- and unix-port to changes in sys layer 2010-02-12 13:57:58 +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
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
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
b63196d62a Add Unix port 2003-01-18 18:18:02 +00:00