Commit Graph

388 Commits

Author SHA1 Message Date
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
goldsimon
6ce49364c5 Added many missing includes to <string.h> 2009-08-11 14:34:28 +00:00
kieranm
5cceed389c Fix unix port warnings on 64 bit compile 2009-06-25 12:51:23 +00:00
goldsimon
e0675d8b82 Adapted win32 port to changes in sys.h (for NO_SYS=1 only) 2009-04-27 20:14:04 +00:00
goldsimon
105dc66785 Removed invalid brace 2009-04-18 16:21:17 +00:00
goldsimon
2bdd0c7ffc ports/unix/minimal: correct timer handling (ue defines, TCP fasttimer calls slowtimer); let mintapif use ethernet_input 2009-04-18 11:21:24 +00:00
kieranm
b5bb80bbc3 BUG #25695: replace calls to sys_sem_wait() with sys_arch_sem_wait()
in unix port
2009-04-17 10:30:30 +00:00
kieranm
5c39901bdc Match unix port definition of sys_now to lwIP core definition 2009-03-25 11:01:00 +00:00
goldsimon
03534b658a Use size_t for mem_ptr_t to fix 64-bit-compatibily warnings 2009-02-18 20:45:35 +00:00
goldsimon
9e4a33112b No need to allocate a PBUF_LINK for incoming packets, PBUF_RAW is enough 2009-02-18 16:57:07 +00:00
goldsimon
5f05529a22 pkdrv/if: fixed check for invalid adapter_num, added assert if netif can't be initialized 2008-11-24 17:34:18 +00:00
kieranm
234cfd1dcf Fix name of sys_now() function (was called sys_unix_now()) in unix port 2008-11-19 13:38:10 +00:00
jifl
ba11c223fa 2008-09-30 David Woodhouse <dwmw2@infradead.org> :
* ports/unix/sys_arch.c, ports/unix/include/arch/cc.h,
        ports/unix/netif/tcpdump.c, ports/unix/proj/unixsim/simhost.c:
        Fix 64-bit issues in unix port.
        * ports/unix/include/arch/cc.h: silence warning about packed
        attribute on fields, since whole struct is packed.
        * ports/unix/proj/unixsim/apps/shell.c: Remove rexmit fields
        from stat data, in line with lwip stats changes.
2008-09-30 13:48:07 +00:00
goldsimon
0eaad1ca9b Removed some warnings in unix port 2008-07-16 20:37:56 +00:00
goldsimon
2977846356 Changed MAC address settings of win32 port (MAC address to use has to be defined in lwipcfg_msvc.h) 2008-07-10 19:18:38 +00:00
goldsimon
3ab94a43bf Added new stats-defines for sys. 2008-06-27 18:38:27 +00:00
jifl
579c7a3df4 sys_jiffies(): set sec and usec correctly from gettimeofday(), and avoid sec overflow 2008-06-19 15:31:12 +00:00
goldsimon
6de783946f Fixed a warning in sys_arch_timeouts() (SYS_ARCH_DECL_PROTECT must be placed after variables) 2008-06-17 19:44:18 +00:00
goldsimon
e0667a84c0 Added support for new loopback code in win32 port 2008-06-17 19:43:34 +00:00
fbernon
f044a46228 contrib/ports/win32: minor change, typo. 2008-06-03 10:12:14 +00:00
fbernon
f084d2fca0 contrib/ports/win32: Fix NOTIFY_LINKSTATE macro. 2008-06-03 10:10:28 +00:00
kieranm
4e543d897a Change LWIP_UDP to UDP_STATS from my earlier check in as per suggested
by Jonathan Larmour.
2008-05-30 12:26:31 +00:00
kieranm
8df3d8bdc0 Fix BUG22983: multiple fixes for unixsim 2008-05-30 11:58:40 +00:00
kieranm
d959889ab5 Fix BUG23230: unlock mutex if sys_mbox_trypost() finds a full mail box 2008-05-30 11:41:51 +00:00
kieranm
43c61c1317 BUG23408: avoid deadlock by splitting mail semaphore into "not_empty"
and "not_full"
2008-05-30 11:28:28 +00:00
fbernon
24282a28df win32 port: last changes 2008-04-26 11:34:37 +00:00
fbernon
3fb00cde5b win32 port/msvc9: update port 2008-04-26 11:21:14 +00:00
fbernon
eca09602e9 win32 port: minor changes 2008-04-26 11:12:50 +00:00
fbernon
85c2c164cc contrib/apps/rtp: add a rtp sample to be able to test lwip's multicast features. 2008-04-26 10:53:32 +00:00
kieranm
cc36b3df63 Fix compilation of unixsim shell app after removal of MEM_SIZE_F in
patch#6414
2008-03-23 13:46:03 +00:00
fbernon
f7693ad4d4 contrib/ports/win32/test.c: minor change, fix a warning. 2008-03-16 08:31:15 +00:00
fbernon
f1081a0d64 contrib/ports/win32/sys_arch.c: Minor change (typo in a debug trace). 2008-03-12 10:57:24 +00:00
goldsimon
7692d054a6 Replaced spaces with underscores in msvc8 project files (unfortunately, the savannah cvs server doesn't support the command 'rename', so I had to delete the old files and add them renamed) 2008-01-27 11:43:16 +00:00
goldsimon
2d60367420 removed old msvc6 port -> included in win32 port now 2008-01-27 11:25:15 +00:00
goldsimon
43930c4be1 removed 'typedef void* sio_fd_t' (already defined in sio.h) 2008-01-27 10:36:32 +00:00
goldsimon
e491f6b335 remove double-define of BYTE_ORDER; added 2 #ifndefs to compile with cygwin gcc 2008-01-27 10:35:01 +00:00
kieranm
e021174865 Bring unix sys_arch.c up to current CVS HEAD API 2008-01-17 11:51:09 +00:00
kieranm
bddf652073 Update unix port to 1.3.0 before release 2008-01-15 13:10:51 +00:00
jifl
18a8963351 * lwipopts.h: Reflect IP_OPTIONS -> IP_OPTIONS_ALLOWED name change. 2008-01-09 10:16:57 +00:00
fbernon
9b4be1bb96 Win32 port: add a dhcp_renew when the link become "up"... 2008-01-06 23:18:50 +00:00
fbernon
2913175ec6 Win32 port: print statistics of dropped packets. 2008-01-06 20:19:41 +00:00
goldsimon
be3fc99aba Implemented the 'try' in sys_mbox_trypost (returning ERR_MEM if the mbox is full). 2008-01-06 14:16:30 +00:00
goldsimon
cd55e0b82b Implemented the 'try' in sys_mbox_trypost (returning ERR_MEM if the mbox is full). 2008-01-06 14:16:12 +00:00
fbernon
5652c7d473 Win32 port: changes to adapt to sys_mbox api (just to be able to build). 2008-01-05 21:13:46 +00:00
fbernon
0ed511d380 Minor changes in contrib folder: fix some warnings 2008-01-04 22:49:56 +00:00
fbernon
52c5f3bf38 Minor changes in Win32 port: fix some warnings 2008-01-04 22:37:28 +00:00
fbernon
823c4df3a2 Minor change in Win32 port: rename LWIP_LISTEN_BACKLOG in TCP_LISTEN_BACKLOG 2008-01-04 22:24:37 +00:00
fbernon
9bee80463c Win32 port: Add a sio driver for a pipe interface 2008-01-03 22:51:03 +00:00
fbernon
a75fb7dfec Minor changes in Win32 port: remove some references to local files in project. 2007-12-31 13:39:20 +00:00
fbernon
1d6a981479 Minor changes (move a trace, add some explicit options in lwipopts.h). 2007-12-31 13:29:28 +00:00
fbernon
fb791aa4f8 Add AUTOIP use in Win32 port (and display ip address in status_callback). 2007-12-30 01:15:02 +00:00
fbernon
bf8469722f Minor change in Win32 port: add the adapter's vendor description display 2007-12-23 15:10:27 +00:00
fbernon
e63bdc8022 Minor change in Win32 port: fix wrong comment. 2007-12-23 14:41:29 +00:00
fbernon
1e68e75581 Add LWIP_NETIF_STATUS_CALLBACK and LWIP_NETIF_LINK_CALLBACK use in Win32 port. 2007-12-23 14:28:38 +00:00
fbernon
04b00f954c Minor changes (replace DNS_COMPLETE by ERR_OK). 2007-12-19 20:52:02 +00:00
goldsimon
95e5598039 support multiple interfaces 2007-12-04 21:17:38 +00:00
fbernon
e7fb399b3c PPP support for win32 port (need to add some files). 2007-12-03 22:10:46 +00:00
goldsimon
d0fee92fe2 Changed pktif.c/pktdrv.c implementation to remove global variables -> more than one adapter can be used (needed to test DHCP on multiple adapters); added DHCP support; initialize loopif before ethernetif (little bit faster since netif_list starts with ethernetif) 2007-12-03 20:34:18 +00:00
goldsimon
cc72279627 Added lwippools.h for an example of MEM_USE_POOLS 2007-12-03 20:32:22 +00:00
goldsimon
5f52fc424f Removed redundant Win95/WinNT code, added comments, added defines for constants 2007-12-03 19:42:33 +00:00
fbernon
45a22d7a2a Minor changes: coding style and typo 2007-12-02 17:47:43 +00:00
fbernon
25215b3303 Minor changes: coding style and add some "lpAdapter" checkings. 2007-12-02 17:47:05 +00:00
goldsimon
4c51f02bcf low_level_input: allow multicast traffic, filter out feedback packets (with src MAC == my MAC - limitation in winpcap); use LINK_STATS_INC instead of #if LINK_STATS 2007-12-02 15:30:46 +00:00
goldsimon
ea3f796c6c Make unix port buildable with changes to sockets.h (include sys/time.h in cc.h only and define LWIP_TIMEVAL_PRIVATE to 0 in lwipopts.h to use unix struct timeval instead of defining an own struct) 2007-12-02 15:26:35 +00:00
goldsimon
9dff15fa76 using LWIP_DIR instead of LWIP_SRC environment variable 2007-11-26 19:17:20 +00:00
fbernon
99b5faef56 Replace C++ comments from win32 port 2007-11-25 14:48:38 +00:00
goldsimon
8f1eaa5226 Fixed some warnings, added new includes, added new defines in lwipopts.h 2007-11-25 14:09:16 +00:00
goldsimon
557ffae7ea Added new files netdb.h and netdb.c to unix & win32 ports 2007-11-24 16:18:21 +00:00
fbernon
b0df562291 Update win32/msvc6 port projects. 2007-11-23 22:47:58 +00:00
fbernon
1ee141d2f9 Update win32 readme.txt 2007-11-23 21:58:46 +00:00
fbernon
47ec9486c2 Update win32/msvc8 port paths 2007-11-23 21:41:43 +00:00
fbernon
8243283528 Add win32 port (for msvc6, msvc8, and others) 2007-11-23 21:06:07 +00:00
goldsimon
797387c936 Added the new inet_chkusm.c file, included moved inet.c. Hope this works as I have no possibility to check it... 2007-11-16 19:41:33 +00:00
goldsimon
b7dfb0e754 Added the new inet_chkusm.c/.h files, included moved inet.c 2007-11-16 19:38:51 +00:00
goldsimon
7c45800d48 changed dns callback function name parameter to be const char* 2007-11-16 19:35:31 +00:00
fbernon
191d815ab1 Minor change for DNS client in msvc6 port. 2007-11-14 23:37:22 +00:00
goldsimon
61d74ecaaf Change header files layout in the project 2007-11-10 18:17:09 +00:00
goldsimon
ea4d3a873c Added comment that slipif, ppp & pppoe are not supported by this port. 2007-11-10 18:16:40 +00:00
fbernon
65feb67dbb Integrate SNTP client in msvc6 port. 2007-11-06 22:47:30 +00:00
fbernon
6126163ef6 Add ping sample from unix ports to reuse it in any ports. 2007-11-04 21:52:57 +00:00
goldsimon
f949381963 Define PACK_STRUCT_USE_INCLUDES to support packing (netbios app doesn't work without) 2007-10-28 14:19:46 +00:00
goldsimon
664faf3b58 NO_SYS=0 initialization: need to wait (using a semaphore) for initialization to finish before calling update_adapter()! 2007-10-21 13:14:53 +00:00
fbernon
cfbf1497d2 msvc6 test: add some comments, remove mcast_init (will be put later in contrib/apps when I got something more useful), add a test_init function which is called in the "right" context. 2007-10-20 12:22:36 +00:00
fbernon
c0c75ff1eb Add netbios sample in apps library in msvc6 port 2007-10-19 08:02:06 +00:00
fbernon
033842282b Add netbios name service sample in msvc6 port 2007-10-18 23:09:58 +00:00
fbernon
b9647ba1b1 Minor change (use DHCP_COARSE_TIMER_MSECS) 2007-10-15 21:32:28 +00:00
fbernon
f0794fa1b2 Use a timers_table to simplify NO_SYS=1 case in msvc6 port. 2007-10-12 21:36:18 +00:00
fbernon
96b7a28798 Minor changes (comments) 2007-10-07 09:21:21 +00:00