Commit Graph

451 Commits

Author SHA1 Message Date
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
Simon Goldschmidt
08119c678c Create link-local addresses in all unix projects if LWIP_IPV6==1 2011-09-02 21:53:12 +02:00
goldsimon
74848e8b3e Win32: fixed structure member alignment in project settings, updated ignore lists 2011-08-30 13:14:03 +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
goldsimon
87a03a8aad ... and changed some more files 2011-07-06 07:14:35 +00:00
goldsimon
c2b8b721e3 Fix VisualStudio project files after adding IPv6 2011-07-06 07:07:52 +00:00
kieranm
9c86a78404 Set netif->flags appropriate for Ethernet device 2010-07-16 12:49:02 +00:00
goldsimon
90d5a61e85 In some cases, pcap_findalldevs_ex needs the correct source to find local devices 2010-07-05 14:10:07 +00:00
kieranm
c932196e11 Remove definition of function that isn't used 2010-06-28 13:46:45 +00:00
goldsimon
5e7c830745 Correctly initialize used_adapter to NULL 2010-05-16 16:05:26 +00:00
goldsimon
48bb647dc2 Added pcapif that uses the (win)pcap library instead of the (undocumented) packet library. This makes it also usable under other OSes than win32 2010-04-26 20:08:13 +00:00
goldsimon
e28cf98b4d Fix compilation with LWIP_NETIF_HOSTNAME==0 2010-04-14 14:32:48 +00:00
goldsimon
6eca921e70 If a COM port is used, set it to 115200/8N1 2010-04-02 15:20:17 +00:00
goldsimon
543490634b Added missing include directory 2010-04-01 12:24:56 +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
e4ad203b0b sys_thread_new(): name is a const char* 2010-03-26 14:37:54 +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