lwip-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [lwip-users] Is there and 'ping' function?


From: Steven Woody
Subject: Re: [lwip-users] Is there and 'ping' function?
Date: Tue, 19 Apr 2011 11:45:51 +0800

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.

I am talking about ping (send out a icmp echo request message) from my
application layer, the tcp/ip stack is lwIP.  I expected that there is
an API in the lwIP that could do the job for me.


>
> -----Original Message-----
> From: address@hidden [mailto:address@hidden On Behalf Of Steven Woody
> Sent: 2011年4月19日 9:53
> To: Mailing list for lwIP users
> Subject: [lwip-users] Is there and 'ping' function?
>
> Hi,
>
> I looked through the code, but had not found a function that let me
> send out a ping message.  Is there such a routing or should I compose
> the IP packet by myself?  Thanks.
>
>
> --
> Life is the only flaw in an otherwise perfect nonexistence
>     -- Schopenhauer
>
> narke
> public key at http://subkeys.pgp.net:11371 (address@hidden)
>
> _______________________________________________
> lwip-users mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/lwip-users
> _______________________________________________
> lwip-users mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/lwip-users



-- 
Life is the only flaw in an otherwise perfect nonexistence
    -- Schopenhauer

narke
public key at http://subkeys.pgp.net:11371 (address@hidden)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]