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
fbernon
b5cca82769
Fix little error on mcast_init sample
2007-10-06 17:32:28 +00:00
fbernon
3967d2e498
Minor change (mcast_init sample)
2007-10-06 17:28:29 +00:00
goldsimon
e4543e2844
Changed timer implementation a little (static- instead of global variables); minor layout changes to help beginners.
2007-10-06 16:54:23 +00:00
goldsimon
831ad1fe53
Changed default MEM_ALIGNMENT to 4 since even for intel, this is faster!
...
Minor indentation changes
2007-10-06 16:52:57 +00:00
fbernon
d5ac707a3d
Minor changes (do functions for NO_SYS=1 case, use ethernet_input)
2007-10-06 15:16:48 +00:00
goldsimon
5a43133b6a
Removed the need for CONTRIB_APPS environment variable
2007-10-04 19:10:02 +00:00
goldsimon
7c9fe43805
Improved timer accuracy with NO_SYS=1
2007-10-04 18:35:16 +00:00
goldsimon
1d7b5a1c9a
Added a project for the apps, removed the old app files from the msvc6 directory.
2007-10-04 18:26:20 +00:00
goldsimon
f4ee2b9712
Removed the need for PLATFORMSDK_DIR
2007-10-01 21:02:46 +00:00
goldsimon
d475c7cb17
Changed documentation, added IP configuration example file, rename to 'lwipcfg_msvc.h' to be able to compile!
2007-10-01 20:53:35 +00:00
goldsimon
fe5e7bd541
Moved raw httpd and netio test apps from ports/msvc6 to apps
2007-10-01 20:48:42 +00:00
fbernon
e8db5a45ca
Minor change for msvc6 port: add LWIP_DBG_ON to LWIP_DBG_TYPES_ON
2007-09-22 11:21:16 +00:00
fbernon
48b0f4a8b6
Minor change: temporary remove some warnings, mainly in SNMP module
2007-09-22 10:16:22 +00:00
fbernon
fd10bcac7e
Minor changes in msvc6 port...
2007-09-21 21:53:29 +00:00
fbernon
9e245185ea
Minor changes in msvc6 port...
2007-09-21 21:11:05 +00:00
jifl
6f9aed6e0b
Add new src/api/netbuf.c file to makefiles
2007-09-21 13:25:06 +00:00
goldsimon
7af5dcd9ee
It was compilable, but did not really work due to the changed pktif.c... Should work again now.
2007-09-20 19:41:05 +00:00
goldsimon
4b634d5d37
Hope it's compiling cleanly again, after all these recent changes...
...
Note that you also have to set the PCAP_DIR environment variable to point
to the WinPcap Developer's Packs (containing 'include' and 'lib'), as well
as the PLATFORMSDK_DIR environment variable to point to Microsoft's Platform
SDK (or any other place containing 'include/windows.h').
2007-09-18 19:46:42 +00:00
fbernon
24c826defe
Remove deprecated options from contrib for "task #7142 : Sanity check user-configurable values".
2007-09-07 23:28:54 +00:00
fbernon
4fd61ce2f7
Fix "bug #20531 : cs8900 driver in c16x port cannot handle pbufs with odd number of bytes" by Mike Kleshov patch.
2007-09-05 17:57:03 +00:00
fbernon
f1f5c7dd80
Update for new sys_thread_new parameters (see task #7252 : "Create sys_thread_new_ex()" ). Some @todo are integrate to do some suggestions to port maintainers.
2007-09-05 16:48:11 +00:00
marcbou
5a8adb3d94
ethbroadcast now a shared global provided by etharp.
2007-08-16 20:52:59 +00:00
goldsimon
daf7d26762
Added call to netif_set_up for loopif
2007-06-21 19:04:35 +00:00
kieranm
68bf8d154c
Return msvc6 to "maintained" state
2007-06-15 08:49:55 +00:00
kieranm
4903763b16
Move unmainted ports to "old" directory
2007-06-14 12:33:39 +00:00
goldsimon
ce18c70557
set netif->output to etharp_output by default to save a function call
2007-06-08 22:56:54 +00:00
goldsimon
5c3dfdae68
Ooops, checked in the wrong file before. Damn point-and-click interface... Reverted to v1.1
2007-06-08 22:55:16 +00:00
goldsimon
dac9674c0d
set netif->output to etharp_output by default to save a function call & removed all the xxx_output() functions that directly called etharp_output().
2007-06-08 22:52:59 +00:00
goldsimon
58dcaae372
set netif->output to etharp_output by default to save a function call
2007-06-08 22:44:04 +00:00
goldsimon
719b29c359
Added initialization of per-netif snmp variables for Win32 ethernetif (pktif.c)
2007-06-08 22:13:34 +00:00
goldsimon
537c17c668
Added sys_arch.c to be able to use sys layer and sequential APIs under Win32
2007-05-18 13:26:11 +00:00
goldsimon
79ef1fb324
Updated the Win32 port to work with current CVS HEAD (only NO_SYS=1 yet)
2007-05-18 11:23:21 +00:00
fbernon
ecff69c8da
Contrib module update with new debug defines names
2007-04-05 09:21:12 +00:00
kieranm
4662fd52fc
Don't call lwip_sockets_init() in unix port "minimal" project as it
...
doesn't use the sockets API
2007-03-21 15:33:33 +00:00
jifl
86ced46a3d
Update ports with newly required call to lwip_socket_init().
2007-02-26 20:09:23 +00:00
christiaans
0eed186b78
Fixed initial clearing of collisions counter.
2006-11-29 10:04:47 +00:00
christiaans
f8579b7e60
Replaced tabs with space.
2006-11-17 10:47:07 +00:00
christiaans
a606ea14a9
Exterminate warnings. Changed 64 bit arith into 32 bit and output fmt from decimal to hex.
2006-10-25 07:43:46 +00:00
christiaans
8cef35e840
Added lwip_prvmib.c, an example for a simple private SNMP MIB implementation.
2006-10-06 09:59:46 +00:00
christiaans
85c4b51b50
Initial commit.
2006-10-06 09:57:00 +00:00
christiaans
dbda178e6b
Updated author contact details.
2006-09-27 11:00:42 +00:00
christiaans
e0206839e3
Added getopt as in unixsim and elaborated SNMP init sequence.
2006-09-12 07:11:22 +00:00
christiaans
7043986ef2
Optimized htonl() for speed.
2006-09-06 10:10:09 +00:00
christiaans
13337a460f
Enabled SNMP debugging, new region of interest.
2006-08-29 11:21:24 +00:00
christiaans
922405d4e9
Enabled LWIP_SNMP for development in the 'minimal' example.
2006-08-21 10:21:54 +00:00
christiaans
a40ebbcac3
Fixed missing netif->ts init.
2006-07-14 11:18:29 +00:00
christiaans
a062919acd
Changed SNMP macro glue, passing netif arg.
2006-07-14 10:00:50 +00:00
christiaans
13313485b2
Added stddef include for NULL macro for linux build.
2006-07-03 08:02:43 +00:00
christiaans
14ec6680d2
Fixed missing malloc return value checks.
2006-07-03 07:23:05 +00:00
christiaans
8facfb725a
Added cmd line options for setting ip, netmask and gateway.
2006-07-03 07:21:43 +00:00
christiaans
3ee29c973e
Changed broken select() timeout based timers into setitimer() timers.
2006-07-03 07:16:48 +00:00