|
From: | Iwan Budi Kusnanto |
Subject: | Re: [lwip-users] Is there and 'ping' function? |
Date: | Tue, 19 Apr 2011 12:31:29 +0700 |
User-agent: | Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.13) Gecko/20101208 Thunderbird/3.1.7 |
On 04/19/2011 10:45 AM, Steven Woody wrote:
On 19 April 2011 10:20, LI Zhong<address@hidden> wrote:Yes ,you can find the ping thread in simhost.c , if you want to ping other IP address by lwIP , you have to use this thread ,and if you want to ping lwIP by your PC, you can use ping command in command line ,the lwIP will receive your request ping package and send the echo package .The code in icmp.c (void icmp_input(struct pbuf *p, struct netif *inp)).simhost.c? I did not find the file in the source tree.
You can find simhost.c in the repository. ./contrib/ports/unix/proj/unixsim/simhost.c
[Prev in Thread] | Current Thread | [Next in Thread] |