Commit Graph

142 Commits

Author SHA1 Message Date
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
goldsimon
63363b1b89 disable conversion warning (implicit integer promotion!) 2010-03-15 10:38:08 +00:00
goldsimon
c8baeec50a don't warn about union without name 2010-03-15 10:34:35 +00:00
goldsimon
1c7fae49a3 Fixed tx and rx for ETH_PAD_SIZE != 0 2010-03-14 11:02:38 +00:00
goldsimon
244e7eddd2 Changed pktif/pcap_helper again for portability 2010-03-10 11:43:47 +00:00
goldsimon
5cb0d5848a oops, used non-lwIP typedefs... 2010-03-09 16:00:21 +00:00
goldsimon
2a5e096165 correct error messages 2010-03-09 10:52:35 +00:00
goldsimon
be3fde3840 get_adapter_index_from_addr: correct return value if adapter not found 2010-03-09 10:52:25 +00:00
goldsimon
bb3aa84605 win32 port: added the option to select pcap adapter from its network address 2010-03-09 09:35:15 +00:00
goldsimon
a416f2eb2c bug #29105: Review printf formatters: added X8_F to cc.h 2010-03-08 17:11:27 +00:00
goldsimon
5604a40915 Don't use C++ style comments 2010-03-06 12:17:21 +00:00
goldsimon
8a75717dc6 Check that LWIP_NETIF_TX_SINGLE_PBUF works (in debug mode only) 2010-03-06 12:15:47 +00:00
goldsimon
6962ff18d8 Removed ppp_trace (not used by the PPP code any more) 2010-02-22 20:16:48 +00:00
goldsimon
74cd18c72e added tcp_impl.h 2010-02-21 13:54:16 +00:00
goldsimon
520e085b7b Set link up or down when initializing the netif 2010-02-16 17:15:45 +00:00
goldsimon
977f52e6ba When ethernetif is only used for PPPoE, disable etharp and igmp on it; delay dns-example-request so that dhcp/autoip/ppp have time to bring the netif up after starting 2010-02-14 18:11:35 +00:00
goldsimon
4add26bebd Make use of the changed sys layer api and allocate mboxes/semaphores in place (without requiring malloc) 2010-02-13 17:30:15 +00:00