Commit Graph

475 Commits

Author SHA1 Message Date
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
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
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
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
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
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
goldsimon
ed52d1f790 Allocate struct dhcp and struct autoip statically 2010-02-12 16:59:30 +00:00
goldsimon
eda6db6ebc Adapted win32- and unix-port to changes in sys layer 2010-02-12 13:57:58 +00:00
goldsimon
8245ef55a3 Fixed typo in project files 2010-02-09 16:44:10 +00:00
goldsimon
a70c0fb424 Added project files for check and unit tests, fixed check adaption to win32 2010-02-09 16:41:27 +00:00
goldsimon
540bac6fa3 Adapted contrib ports to loopif moved into netif.c 2010-02-09 16:07:46 +00:00
goldsimon
e70c0bd3f5 Fixed unix port after changing struct ip_addr to ip_addr_t 2010-02-09 13:19:01 +00:00
goldsimon
9c17b2eb87 include arch.h to get cc.h's definitions and pragmas 2010-02-09 11:37:14 +00:00
goldsimon
089badd5d0 Update snmp tx/rx counters, initialize netif hostname to "lwip" 2010-02-05 11:54:38 +00:00
goldsimon
a6828003d8 Replaced struct ip_addr by typedef ip_addr_t to make changing the actual implementation behind the typedef easier. 2010-02-04 18:50:12 +00:00
goldsimon
899ae6a321 Use macros defined in ip_addr.h (some of them new) to work with IP addresses (preparation for bug #27352 - Change ip_addr from struct to typedef (u32_t) - and better code). 2010-02-04 17:23:30 +00:00
goldsimon
d11875c261 Deleted old msvc6 project files: it's really too old now and unmaintained, use msvc8 instead. 2010-02-02 19:40:59 +00:00
goldsimon
880ed2c01e Moved lwip_prvmib.c and private_mib.h from unix/proj/minimal to apps/snmp_private_mib and extended it for write support and usage with memory buffers instead of files to be used under non-posix OSes as an example 2010-02-02 19:39:25 +00:00
goldsimon
b411c22658 Added socket_examples as and app 2010-02-02 18:39:24 +00:00
goldsimon
c0b7b8de41 added netif/ppp_oe.h and netif/slipif.h 2010-02-02 15:11:14 +00:00
goldsimon
a1ca06cfcc Fixed unix port after recent changes 2010-01-30 14:16:47 +00:00
goldsimon
97fa3db8fa Added def.h 2010-01-30 13:53:35 +00:00
goldsimon
6b1d5a6adc Fix compiler warning: MAC address contains unsigned values 2010-01-27 07:15:06 +00:00
goldsimon
892859455c bug #28659: Missing casts 2010-01-25 08:20:46 +00:00
goldsimon
0f5c7fa169 Added files to compile check 0.9.8 under win32 (no fork support, of course) 2010-01-24 17:36:51 +00:00
goldsimon
015165df14 Adapted win32 port project files to recent lwIP changes 2010-01-24 17:35:04 +00:00
goldsimon
a097cfd003 Added new apps 2010-01-24 17:22:54 +00:00
goldsimon
292fe4a59e Added 3 new apps 2010-01-24 10:11:02 +00:00
goldsimon
c2ff201fd7 Fixed compiler warnings, added 3 new apps 2010-01-24 10:10:17 +00:00
goldsimon
faf826ad6d bug #26523: Compiler Warnings 2010-01-24 10:09:57 +00:00
goldsimon
8b4184a38a Fix unixsim after moving app files 2010-01-20 20:55:10 +00:00
goldsimon
379e17565c Moved 3 apps from unixsim/apps to contrib/apps (since they are by no means unix-specific) 2010-01-20 19:12:26 +00:00
goldsimon
4d999efb93 Removed unused include to errno.h (which breaks portability also -> should be placed in cc.h) 2010-01-20 07:44:01 +00:00
goldsimon
f4855e7575 Fixed compilation after changing netconn_recv/_accept 2010-01-20 07:38:34 +00:00
goldsimon
82418f995c Added explanation to disabled warning numbers 2010-01-18 09:29:28 +00:00
goldsimon
826ca4dcae Updated Win32 port for new NO_SYS timers and for using ppp with NO_SYS 2010-01-13 16:07:27 +00:00
goldsimon
d0c399570e Added LWIP_RAND() define 2010-01-10 11:12:07 +00:00
goldsimon
e59072922c MEMP_NUM_SYS_TIMEOUT needs to be 3 since now, timers are set up even for NO_SYS==1 2010-01-08 13:40:12 +00:00
goldsimon
2bb8f85116 Unix port: fixed compilation after moving timeout handling to timers.c; fixed some threading- and other issues with initialization 2010-01-07 10:21:13 +00:00
goldsimon
45a8de7caf Added debug output on open 2009-12-31 16:42:36 +00:00
goldsimon
4c733650e6 Adapted to changed timer implementation 2009-12-31 16:24:58 +00:00
goldsimon
321ac573ce Adapted to new config option LWIP_ETHERNET 2009-12-27 11:46:05 +00:00
goldsimon
a4ee79c04d Added sleep in main thread if it has nothing to do (PPPoS) 2009-12-07 14:58:51 +00:00
goldsimon
92a32dbce4 Using PPPoS on win32 blocked since read and write are used from 2 different threads and read blocked. 2009-12-07 14:56:17 +00:00
goldsimon
813b025f97 ppp_desc needs to be initialized with -1, not 0 2009-12-07 10:33:43 +00:00
goldsimon
99aab4ea68 Print out error code when sio_open fails 2009-12-07 10:32:46 +00:00
goldsimon
434227b6bd Fix compilation when using PPPoS only 2009-12-07 07:34:52 +00:00
goldsimon
f744877247 Added configurable PPPoE support for MSVC port 2009-12-04 08:49:01 +00:00
goldsimon
2e84b2ba2b MSVC packetlib adapter: added the possibility to select adapter via GUID (instead of index, which can change); added some deallocations on error; printing adapter names when listing adapters 2009-12-04 08:18:07 +00:00
goldsimon
6935d26ced Init chargen if configured to 2009-11-20 16:21:18 +00:00
goldsimon
deec441987 Add comments, fix source code layout 2009-11-01 19:07:53 +00:00
goldsimon
77ab1cb406 Fix adapter range detection (last adapter could not be used) 2009-11-01 19:04:05 +00:00
goldsimon
1686fc793e Added makefsdata project 2009-11-01 18:27:45 +00:00
goldsimon
06c14502a8 Use ip_ntoa instead of inet_ntoa, fix running with PPP_SUPPORT=1 (don't poll ethernetif - not initialized) 2009-08-25 14:56:31 +00:00
goldsimon
11ad41b049 Fix includes (don't include string.h -> included in all files where needed), fix LWIP_ERROR (expression was used as message) 2009-08-11 14:36:31 +00:00