Commit Graph

28 Commits

Author SHA1 Message Date
goldsimon
35b0b78242 Fix a compiler warning 2010-05-16 16:07:11 +00:00
goldsimon
672f01f4e3 Fixed compilation for PING_USE_SOCKETS==0 2010-05-10 14:08:14 +00:00
goldsimon
b83a115953 Fixed compilation warnings (missing casts, includes, etc.) 2010-03-10 11:27:11 +00:00
goldsimon
91cd7becdf bug #29105: Review printf formatters 2010-03-08 17:10:12 +00:00
goldsimon
cb7f0de9f8 Fixed bug #29068: Fixed memory leak in ping_recv for PING_USE_SOCKETS==0 2010-03-04 15:48:21 +00:00
goldsimon
a6828003d8 Replaced struct ip_addr by typedef ip_addr_t to make changing the actual implementation behind the typedef easier. 2010-02-04 18:50:12 +00:00
goldsimon
899ae6a321 Use macros defined in ip_addr.h (some of them new) to work with IP addresses (preparation for bug #27352 - Change ip_addr from struct to typedef (u32_t) - and better code). 2010-02-04 17:23:30 +00:00
goldsimon
cceacccce6 Adapted to changed inet.h/ip_addr.h/def.h, fixed warnings 2010-01-29 08:22:40 +00:00
goldsimon
faf826ad6d bug #26523: Compiler Warnings 2010-01-24 10:09:57 +00:00
goldsimon
4c733650e6 Adapted to changed timer implementation 2009-12-31 16:24:58 +00:00
goldsimon
c813c2f691 Make socket/raw api decision configurable 2009-12-04 08:12:36 +00:00
goldsimon
15d75600bb Checked in patch #6760 (ping calculates incorrect checksum) - slightly modified 2009-03-01 17:20:53 +00:00
goldsimon
ccb8913d65 Add casts where appropriate to fix conversion warnings 2009-02-18 20:43:32 +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
754453fd22 Remove unused arg warning 2008-06-25 17:01:50 +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
fbernon
4bad9aa105 Minor changes: add a return value to ping_send with socket api. 2008-01-06 20:24:56 +00:00
fbernon
0ed511d380 Minor changes in contrib folder: fix some warnings 2008-01-04 22:49:56 +00:00
fbernon
e3105fd059 Minor changes in ping sample: update "ping_target" before each ping_send. 2007-12-23 14:39:50 +00:00
fbernon
bf55cf26f1 Minor changes: don't presume the netif_default is always initialized in some apps (avoid crashs). 2007-11-30 16:39:16 +00:00
fbernon
10fedbc940 Minor changes (regroup code in ping_prepare_echo). 2007-11-25 00:57:51 +00:00
goldsimon
15bed9a352 if using with LWIP_SOCKET=0, may not create a new thread as that leads to concurrent access to the core -> use sys_timeout instead!!!
send additional data in ping (some hosts don't answer ping packets without additional data), set ICMP code to 0
2007-11-24 15:00:00 +00:00
goldsimon
7d838ce7de include the new inet_chksum.h 2007-11-16 19:35:03 +00:00
fbernon
8105013eb0 netbios.c, ping.c, sntp.c: minor changes: add comments, add some parameters, some coding style... 2007-11-13 00:58:51 +00:00
fbernon
5478eaae3c Add macro and others definitions to enable to tune ping sender. 2007-11-07 20:52:32 +00:00
fbernon
f2aaab0d86 Drop receive packets in LWIP_SOCKET=1 case if they're not a echo reply, and use SO_RCVTIMEO option to avoid to wait forever. 2007-11-06 19:36:07 +00:00
fbernon
69b8ef3788 Add comment to "ping" sample. 2007-11-04 22:07:42 +00:00
fbernon
6126163ef6 Add ping sample from unix ports to reuse it in any ports. 2007-11-04 21:52:57 +00:00