Commit Graph

187 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
Sylvain Rochet 5b81b934bf unixsim: add support for user chosen netmask 2014-12-24 17:36:23 +01:00
Sylvain Rochet de01153586 unixsim: port to changed PPP interface 2014-12-24 17:13:47 +01:00
Sylvain Rochet f2e83197ff unixsim: fixed various compiler warnings
missing prototype, unused functions, unused parameters
2014-12-24 15:42:13 +01:00
Sylvain Rochet 85121abb78 unix port: simhost example: updated to include changed PPP files 2014-12-23 19:33:29 +01:00
Sylvain Rochet 79b0f6a86c unix port: fixed tcpdump.c syntax 2014-12-23 19:31:18 +01:00
Sylvain Rochet 1210a4d5a6 bugfix #35874 broke the unix SIO port by introducing a include define conflict between the stack and the port 2014-10-12 17:54:11 +02:00
Simon Goldschmidt 43253483a8 partly applied patch #8357: fix compiler warnings in tcpdump.c 2014-09-17 22:17:10 +02:00
Simon Goldschmidt 96e27bf4f7 minor: unix port removed unused define IPv4 2014-09-17 22:14:57 +02:00
Simon Goldschmidt c6c94d27fc minor: tcpdump: fixed source code layout 2014-09-17 22:14:08 +02:00
goldsimon cf40c6315f Adapted example ports to moved IPv4/IPv6 header files 2014-09-01 17:30:45 +02: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 55d09ae777 fixed warnings in unix port; use the same compiler settings in all 3 projects; use echo.c from apps and removed duplicate from unix/proj/minimal 2014-04-30 14:03:21 +02:00
Simon Goldschmidt bb3e70c860 Fixed bug #41498 simhost unix project in lwip-contrib calls netif_init() twice. 2014-02-20 21:56:56 +01:00
Erik Ekman a37d623975 Ignore LWIP_PLATFORM_ASSERT when running tests 2014-02-12 22:14:24 +01:00
Erik Ekman c9a6db0ff3 Include core/test_pbuf.c file in build 2014-02-12 22:14:14 +01:00
Simon Goldschmidt e7723b295d Fixed compiling tcpdump.c after removing the macro TCPH_OFFSET() (patch by Erik Ekman) 2012-09-26 21:33:25 +02:00
Simon Goldschmidt b14da81fb9 Patch by Sylvain Rochet: Fixed bug #36436: ethernet input flag not set on unix proj minimal mintapif 2012-05-11 22:42:32 +02:00
Erik Ekman 4ad9b0501c Add unit tests for DHCP
Three simple tests that test the basic functionality of the DHCP client.
They require that UDP checksums are off for now.
2012-03-25 17:24:34 +02:00
Simon Goldschmidt 5b1bd88115 unixif: fixed unused variable warning, replaced tabs with spaces 2012-03-01 19:15:38 +01:00
Simon Goldschmidt 600b8665a5 patch #7731 contrib: Add -fPIC to CFLAGS in unix/proj/lib (by Erik Ekman) 2012-03-01 18:59:22 +01:00
Simon Goldschmidt cc786efa73 unixsim: change lwipopts.h to not break init.c sanity checks 2012-02-23 19:00:59 +01:00
Simon Goldschmidt 72e48fada0 unix unit test Makefile: use lwipopts.h from test/unit instead of using our own configuration. 2012-02-22 21:49:08 +01:00
Simon Goldschmidt 88b5a36be2 Added Makefile to run the unit tests under unix/linux 2012-02-14 21:55:20 +01:00
Simon Goldschmidt 48e301d329 Fixed unix makefiles by adding IPv6 source files to the binary 2012-02-14 21:43:21 +01:00
Simon Goldschmidt 907ea97876 Fixed warnings when assigning time_t to int/u32_t 2012-02-14 21:11:42 +01:00
Kieran Mansley 3a5de6effd Bug34596: remove LWIP_TIMEVAL_PRIVATE setting from unix project lwipopts.h 2011-11-01 12:57:57 +00:00
Kieran Mansley 0b90e53845 Bug34596: set LWIP_TIMEVAL_PRIVATE in unix port 2011-10-28 13:42:54 +01:00
goldsimon eaf034149e Fixed bug #34582 missing limits.h for unix arch (needed for default value "INT_MAX" of RECV_BUFSIZE_DEFAULT) 2011-10-18 10:36:38 +02:00
Simon Goldschmidt 08119c678c Create link-local addresses in all unix projects if LWIP_IPV6==1 2011-09-02 21:53:12 +02:00
Simon Goldschmidt bce6087f47 Merge branch 'master' of git.sv.gnu.org:/srv/git/lwip/lwip-contrib 2011-08-24 22:53:49 +02:00
Simon Goldschmidt 1494ad3919 Added IPv6 support to unix tapif driver: patch by Dan Pomohaci, couldn't test it, yet :-( 2011-08-24 20:00:08 +02:00
Kieran Mansley 4ebfe86430 fix use of inet_chksum_pseudo in unixsim 2011-07-29 13:38:53 +01:00
Simon Goldschmidt 2f3fdb4c97 Tried to fix the unix port projects after adding IPv6 2011-07-28 21:55:53 +02:00
kieranm 9c86a78404 Set netif->flags appropriate for Ethernet device 2010-07-16 12:49:02 +00:00
kieranm c932196e11 Remove definition of function that isn't used 2010-06-28 13:46:45 +00:00
goldsimon 4c42e56c7c Fix usage of memcpy (after moving from bcopy to memcpy in an attempt to write more portable code) 2010-03-31 08:07:07 +00:00
goldsimon 8d0e721c22 used memcpy instead of bcopy 2010-03-26 16:16:38 +00:00
goldsimon 12d42c5801 unixsim: enable more warnings and fix the newly found warnings in ports/unix 2010-03-26 14:20:39 +00:00
goldsimon a416f2eb2c bug #29105: Review printf formatters: added X8_F to cc.h 2010-03-08 17:11:27 +00:00
goldsimon 65b36b5173 Adapted to changes in tcp.h / added tcp_impl.h 2010-02-21 11:35:37 +00:00
goldsimon 8bb9da48de -Werror to not overlook warnings 2010-02-21 11:26:40 +00:00
goldsimon 14d8d2b9e4 Fixed compilation of proj/lib 2010-02-21 11:26:15 +00:00
goldsimon 3e130e4f7f Fixed input thread handling: pass all supported packets to netif->input 2010-02-17 16:57:16 +00:00
goldsimon 44273aed6f minor: fixed source code layout 2010-02-17 16:55:36 +00:00
goldsimon 17026e30b1 unix ports: fixed usage of sys_sem_signal after changing sys layer 2010-02-17 16:52:30 +00:00
goldsimon 4c65d25eda Fixed compilation under cygwin 2010-02-14 12:44:20 +00:00
goldsimon 239240e336 Fixed compilation after change of sys layer 2010-02-14 12:44:04 +00:00
goldsimon e1f2af00d7 Fix usage of stats 2010-02-13 17:34:20 +00:00