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
christiaans
67ff807e63
Fixed cold case bug #1748 , printing of mem_size_t and u16_t statistics.
2006-06-15 07:09:57 +00:00
christiaans
e89130bd80
Fixed inet_aton() struct in_addr warning and silenced debug output when not selected by --debug.
2006-05-26 07:28:31 +00:00
christiaans
d07438fffe
Fixed rxtx_num size from u16_t to u32_t as reported by Uwe Roth.
2006-05-15 13:16:41 +00:00
christiaans
1fb9e9d885
Disabled ARP table update on ingress IP packets.
2006-05-05 13:35:17 +00:00
christiaans
3cc467e481
Added command line options for debug and ping output.
2006-04-19 07:30:02 +00:00
christiaans
bce92dd2f6
Fixed LWIP_STATS defined test to value test.
2006-04-19 07:19:38 +00:00
christiaans
44e63bac05
Added LWIP_PLATFORM_BYTESWAP inlines.
2006-03-29 12:15:05 +00:00
christiaans
ba840c6756
More agressive speed optimalisation of cs8900_input(), reading 4 words per input loop iteration.
2006-03-29 12:12:13 +00:00
christiaans
8bb26656a1
Added -pedantic switch.
2006-03-15 11:40:18 +00:00
christiaans
482a2eacea
cs8900_output() Moved 32bit sent_bytes addition outside output loop.
2006-03-07 15:33:58 +00:00
christiaans
ac8a138cd5
Added IP fragmentation and etharp_tmr service.
2006-03-02 16:28:49 +00:00
christiaans
6f7ff08674
Added hint for linux device node.
2006-02-28 13:13:15 +00:00
christiaans
ca3b54ecb7
Undo of previous commit. Timers should be fixed in seq API instead.
2006-02-28 08:27:55 +00:00
christiaans
f01fa48eec
Removed tabs, added netconn_close().
2006-02-28 08:23:22 +00:00
christiaans
171676162e
Added tcp_tmr() and ip_reass_tmr(). Timers are required for correct operation.
2006-02-13 08:22:34 +00:00
christiaans
05b95f0d2a
Fixed missing MTU setting in netif initialisation. Related to bug #15659 .
2006-02-10 08:17:41 +00:00
christiaans
e32c8ca65f
Fixed packet buffer length to eth header plus payload.
2006-02-08 08:03:42 +00:00
christiaans
332072de60
Small optimalization for cs8900_input().
2006-01-03 10:09:07 +00:00
christiaans
9700fe9b69
Removed comma at enumeration tail, avoiding warnings.
2005-12-20 12:54:19 +00:00
christiaans
8de173efc8
Introduced cc.h formatters.
2005-12-08 08:20:07 +00:00
christiaans
b89160f34e
Introduced cc.h formatters.
2005-11-25 12:04:21 +00:00
christiaans
d95d7cd960
Made util.h depend on openbsd, to fix linux build.
2005-11-08 12:36:17 +00:00
christiaans
967f8aa38e
A few small build fixes for unixsim.
2005-11-08 12:00:45 +00:00
ming
e17ac1ad2b
Update the driver in "ti_c6711", using QDMA of C6000 DSP now, which is much faster. [2005.11.07 by Ming]
2005-11-07 00:50:49 +00:00
christiaans
8b6c9a5035
Fixed pbuf leak, improved echo_send() throughput.
2005-10-31 08:21:39 +00:00
christiaans
43e9947345
Disabled debug output, renamed executable.
2005-10-31 08:20:15 +00:00
christiaans
d81bc3571d
Rewrite using raw API, not stable yet.
2005-10-27 07:15:32 +00:00
christiaans
60022e1687
Increased availability by removing TCP active-close show-stopper. Leaving pbuf memory leak in for now.
2005-10-12 11:03:58 +00:00
christiaans
ca90f6fce9
Some build fixes for OpenBSD.
2005-10-10 07:25:35 +00:00
kieranm
e2e13d3e30
Updated STATS definitions to follow convention of "#if" rather than
...
"#ifdef"
2005-06-29 20:39:49 +00:00
ming
14261143e0
Add the arch files for "ti_c6711", that's a 32bit DSP. [2005.01.29 by Ming]
2005-01-29 15:19:20 +00:00
jani
9474594fde
don't append ecos copyrigh headers to files which already have BSD copyright
2004-11-09 12:49:07 +00:00
jani
ca61fd54af
minor updates in CDL
2004-11-09 11:17:37 +00:00
christiaans
786ac1d722
Fixed frame pad size and compiler warning.
2004-10-29 08:54:45 +00:00
kieranm
a2b51bf5f1
Kieran Mansley, kieranm@gtemail.net, 10th Aug 2004
...
- Pass a "struct netif" to netif_add - API has changed at some point and this file not updated.
2004-08-10 14:08:17 +00:00
kieranm
9bae01c0b6
Kieran Mansley, kieranm@gtemail.net, 10th Aug 2004
...
- Add unixif.c and list.c to Makefile so simrouter and simnode will compile
2004-08-10 14:07:16 +00:00
kieranm
dd1265444f
Kieran Mansley, kieranm@gtemail.net, 10th Aug 2004
...
- Comment out #includes of netnet/in.h and arpa/inet.h to avoid reported redefinitions
2004-08-10 14:06:19 +00:00
kieranm
ce67f2094f
Kieran Mansley - kjm25@cam.ac.uk - 29th July 2004
...
* Fixed DEBUG statement that could attempt to dereference a NULL pointer in sys_arch_mbox_fetch()
2004-07-29 09:37:46 +00:00
likewise
c2c5ae818a
Made compliant with API changes in CVS HEAD.
2004-05-05 18:47:22 +00:00
likewise
5acf6d24d5
Made compliant with API changes in CVS HEAD.
2004-05-05 18:47:21 +00:00
likewise
80bf73178b
Added missing newline at end of file.
2004-05-03 17:59:35 +00:00
likewise
33f6e1f9ce
Added missing rototype for echo.c function in new header file echo.h.
2004-04-29 21:52:25 +00:00
likewise
a038205c64
Removed ETHARP_ALWAYS_INSERT.
2004-04-28 23:24:43 +00:00
jani
5dee3e2347
add network.h for compatib with ecos BSD stacks
2004-03-26 13:33:27 +00:00
jani
f0be87dca0
add sys_timeout test
2004-03-26 13:32:51 +00:00
jani
6e1589ddca
misc small warning fixes
2004-03-26 13:31:39 +00:00
jani
17ec2ad379
slip set default route fix from Oyvind Harboe
2004-03-22 08:36:46 +00:00
likewise
22797a10a5
Added raw.c to Makefile
2004-03-11 19:53:36 +00:00
jani
d510a9d4de
update simhost so it builds. inet_ntoa and netif_add changed
2004-03-10 13:26:34 +00:00
likewise
af2ea959ea
Fix non-compiling code for frame padding.
2004-03-04 16:28:51 +00:00
likewise
737bdc86d4
Removed #error TODO: on the minimal Ethernet frame size.
2004-03-04 12:35:14 +00:00
marcbou
f606ec6bc1
fixed minor grammatical error.
2004-02-15 23:08:04 +00:00
jani
b2c8429c30
io eth patch no longer required
2004-01-19 11:46:10 +00:00
jani
6990895759
define fix
2004-01-09 15:47:29 +00:00
jani
9156646ce4
minor cleanup,use rign ifdef
2004-01-09 15:36:06 +00:00
jani
b4f277007f
hopefully better defaults for some tunables
2004-01-09 14:50:40 +00:00
jani
549f86f45f
make ethernet optional, settable eth input thread priority
2004-01-09 09:16:02 +00:00
jani
60e2d4bfbc
silence some more warnings in the test apps
2004-01-06 18:45:51 +00:00
jani
ab392ac737
reduce stack size for tcpecho test to 4K
2004-01-05 15:33:22 +00:00
jani
0f370aeabe
prototype of diag_printf
2004-01-05 15:32:27 +00:00
jani
ef3519f98f
fix ppp_trace()
2004-01-05 15:31:35 +00:00
jani
97f1b8d8f1
add raw pcbs to statistics
2003-12-03 12:36:20 +00:00
jani
373dd95fc5
make simrouter match new netif_add prototype
2003-11-24 15:34:29 +00:00
jani
69a46d6e39
followup to unixlib and msvc updated wrt netif_add.declare a var not just the struct
2003-11-24 08:58:08 +00:00
jani
ae4801c910
unixlib and msvc updated wrt netif_add
2003-11-24 08:54:46 +00:00
jani
724f2089d5
update ecos to netif_add, configurable loopif, and more cdl options
2003-11-24 08:31:04 +00:00
jani
8c1d3a4f9f
update unixsim to new netif_add
2003-11-24 08:26:26 +00:00
jani
2cd6a0e106
update minimal to new netif_add
2003-11-24 08:24:55 +00:00
jani
fd5e3abadb
fix stats defs
2003-11-24 08:11:32 +00:00
jani
005622e17a
set hw_addr_len in mintapif
2003-11-24 08:06:49 +00:00