Commit Graph

471 Commits

Author SHA1 Message Date
Simon Goldschmidt
80ae68d1be changed win32 project files to MSVC9/Visual C++ 2008 and renamed the directory accordingly; added .gitignore to ignore all the MSVC build files 2014-08-20 21:45:31 +02:00
Simon Goldschmidt
af57a58b48 Updated win32 example port project to include changed PPP files 2014-08-20 21:21:59 +02:00
goldsimon
39107a4066 Reverted too much changed test code... 2014-08-19 14:24:48 +02:00
goldsimon
1cdaaf47bf win32 port: call srand() in tcpip_thread, too since the random seed is stored per thread 2014-08-19 14:23:56 +02:00
goldsimon
6d4e09ea3c bug #35874 reserved identifier violation, 2nd part in even more files 2014-05-20 12:30:59 +02:00
goldsimon
e4ec9053e9 bug #35874 reserved identifier violation, 2nd part 2014-05-20 12:28:00 +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
Simon Goldschmidt
3268ac82aa sio.c: fixed printf had more arguments than the format string needed (because %d was missing) 2014-04-30 22:13:44 +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
goldsimon
993d8c8c82 fixed compiling port/win32 for C++ 2014-04-30 12:26:17 +02:00
goldsimon
0007b4e6ba Multiple fixes found by coverity scan 2014-04-30 12:25:40 +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
acc69ff333 Added missing files (test_pbuf.c/.h) 2013-01-11 21:24:39 +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
Simon Goldschmidt
00e04f9cdb Added dhcp unit test to Win32 project 2012-03-25 17:26:22 +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
goldsimon
79761834da Win32 pcapif: use pcap_findalldevs(), not pcap_findalldevs_ex() (we don't capture remotely), added missing casts 2012-02-23 08:46:55 +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
goldsimon
2cb9d29591 win32 projects: fixed warning level and build options 2012-02-16 15:48:22 +01:00
goldsimon
98b666de5d changed win32 projects to compile unit tests using correct lwipopts.h, removed unncessesary <FileConfigurations> 2012-02-16 13:24:13 +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
Simon Goldschmidt
af07304f02 Fixed typos (used pcapif_ instead of pcapifh_) 2011-11-24 20:51:49 +01:00
Simon Goldschmidt
62a162ac66 pcapif_low_level_input: let IPv6-multicast MAC addresses through, correctly check IPv4-multicast MAC addresses 2011-11-23 21:29:43 +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
Simon Goldschmidt
2b8147b8d9 win32 test: added support for (multiple) SLIP netifs (routing between pcap and SLIP works, 2 SLIP netifs can be used for "loopback" SLIP traffic via named pipes) 2011-10-21 22:43:10 +02:00
Simon Goldschmidt
cc16cae039 win32 sio.c: added missing function sio_tryread(), fixed COM port usage (now it works for me to connect lwIP from win32 to my AVR target using SLIP) 2011-10-21 22:27:55 +02:00
Simon Goldschmidt
cac420aec5 pcapif: remove trailing spaces from adapter names, deleted old (unused) files 2011-10-21 20:03:37 +02:00
Simon Goldschmidt
b9eba2dc8e Merge branch 'master' of git.sv.gnu.org:/srv/git/lwip/lwip-contrib 2011-10-18 20:14:28 +02:00
Simon Goldschmidt
7b92f34341 sys_now() should work for NO_SYS, too (where sys_init() is not called) 2011-10-18 20:14:05 +02: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
goldsimon
bdcf5c1ef9 fixed msvc project files for compiling/running unit tests 2011-10-11 09:17:26 +02:00
Simon Goldschmidt
eee1d67e7a Patch by Gisle Vanem: fix Win32 port for MinGW 2011-09-29 21:43:53 +02:00
Simon Goldschmidt
52aa714af2 Changed PBUF_POOL_SIZE to not break the sanity checks in init.c 2011-09-21 18:52:33 +02:00
goldsimon
c662bb3aa3 win32 port: fixed compilation of test.c, added ppp_impl.h to project 2011-09-13 07:54:33 +02:00
Simon Goldschmidt
e3bcc2fe4e pcapif: added the possibility to instantiate more than one pcap driver by passing the adapter index as 'state' to netif_add() 2011-09-11 12:49:57 +02:00
Simon Goldschmidt
7f3c08494a Win32 sys_init(): initialize the random seed (or we use the same random values for every process) 2011-09-11 12:46:18 +02:00
Simon Goldschmidt
227475a45e win32 port: added 3 new defines so that I have less local diffs when testing, print out link-local-IPv6-address if LWIP_IPV6==1 2011-09-02 22:31:05 +02:00
Simon Goldschmidt
ff50e469a5 fixed VS version 2011-09-02 22:14:59 +02:00
Simon Goldschmidt
a0c771ba9b VS projects: removed VCWebDeploymentTool (warnings when upgrading), added smtp.c/.h 2011-09-02 22:13:58 +02:00
Simon Goldschmidt
69b3e7a03c pcapif: added IPv6 support, use pcap_next() instead of pcap_poll(), changed occurrences of the string 'pktif' to 'pcapif' 2011-09-02 22:10:26 +02:00
Simon Goldschmidt
198c2a2082 Deleted old pktif, since we have a working pcapif 2011-09-02 22:09:14 +02:00