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