Commit Graph

407 Commits

Author SHA1 Message Date
goldsimon
ed8a2adfc7 bug #25798: CharGen example uses calloc and free directly 2009-04-15 19:59:01 +00:00
kieranm
5c39901bdc Match unix port definition of sys_now to lwIP core definition 2009-03-25 11:01:00 +00:00
goldsimon
0f06910f66 Fixed bug #25705 (memory leak in httpserver_raw when aborting connection) 2009-03-01 17:50:06 +00:00
goldsimon
15d75600bb Checked in patch #6760 (ping calculates incorrect checksum) - slightly modified 2009-03-01 17:20:53 +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
ccb8913d65 Add casts where appropriate to fix conversion warnings 2009-02-18 20:43:32 +00:00
goldsimon
b243b97543 Fix unused argument warning 2009-02-18 20:42:53 +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
fbernon
73f3e94486 ping.h, ping.c: Minor change: allow to use ping sample with NO_SYS=1. You need to call the ping_send_now() in your application. 2008-07-08 10:11:53 +00:00
goldsimon
3ab94a43bf Added new stats-defines for sys. 2008-06-27 18:38:27 +00:00
goldsimon
754453fd22 Remove unused arg warning 2008-06-25 17:01:50 +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
goldsimon
d0b500244b ~patch #6459: Changed file name variables to const; changed file size in httpd from u16_t to u32_t to allow file sizes > 64KB (fsdata.c file size is int) 2008-03-27 18:33:18 +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
fbernon
b2c2a407cf contrib/apps/ping.c: Fix bug #22530 "api_msg.c's recv_raw() does not consume data", and the ping sample (with LWIP_SOCKET=1, the code did the wrong supposition that lwip_recvfrom returned the IP payload, without the IP header). 2008-03-12 10:56:40 +00:00
jifl
19cd8d9d9a * httpd.c: Fix warnings on some systems with mem_malloc. 2008-03-04 16:40:50 +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
fbernon
f687cc2699 Minor changes: replace directy call to memcpy by MEMCPY macro. 2008-01-26 16:12:16 +00:00
fbernon
343f1561b0 Minor change: add a comment in netio.c application: "See http://www.nwlab.net/art/netio/netio.html to get the netio tool" 2008-01-22 20:53:23 +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
4bad9aa105 Minor changes: add a return value to ping_send with socket api. 2008-01-06 20:24:56 +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