Commit Graph

158 Commits

Author SHA1 Message Date
goldsimon e1f290d37d pcapif: set NETIF_FLAG_ETHERNET, too 2014-12-19 16:02:14 +01:00
goldsimon b9705ef949 pcapif: fixed padding output data to ETH_MIN_FRAME_LEN for ETH_PAD_SIZE != 0 2014-12-10 09:46:47 +01:00
goldsimon bea4a92069 Win32 pcapif:
- add padding to get the minimum ethernet frame size (strange results when using loopback pcap traffic between 2 simulated hosts);
- added: PCAPIF_FILTER_GROUP_ADDRESSES==1: receive all group addressed traffic, not only IP(v4/v6) multicast addresses
2014-12-08 14:22:23 +01:00
goldsimon b19fd7d218 Win32 pcapif.c: fix C coding style, include lwipcfg_msvc.h as first file so that it can set _CRT_SECURE_NO_WARNINGS for MSVC 2014-11-11 11:39:51 +01:00
sg ffb99d8be9 added VS2010 projects / cahanged solutions to VS2010 2014-11-05 21:36:58 +01:00
goldsimon cf40c6315f Adapted example ports to moved IPv4/IPv6 header files 2014-09-01 17:30:45 +02:00
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 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 acc69ff333 Added missing files (test_pbuf.c/.h) 2013-01-11 21:24:39 +01:00
Simon Goldschmidt 00e04f9cdb Added dhcp unit test to Win32 project 2012-03-25 17:26:22 +02: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
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 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
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 7b92f34341 sys_now() should work for NO_SYS, too (where sys_init() is not called) 2011-10-18 20:14:05 +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
goldsimon 74848e8b3e Win32: fixed structure member alignment in project settings, updated ignore lists 2011-08-30 13:14:03 +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
goldsimon 90d5a61e85 In some cases, pcap_findalldevs_ex needs the correct source to find local devices 2010-07-05 14:10:07 +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 e4ad203b0b sys_thread_new(): name is a const char* 2010-03-26 14:37:54 +00:00
goldsimon e6be4da29e Added etharp tests 2010-03-20 12:00:25 +00:00
goldsimon 2bb5d99ffc Moved lwipopts.h to include subdir, updated ignore lists 2010-03-15 10:40:59 +00:00