[Top][All Lists]

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

Re: [lwip-users] Callback when get any IP or ICMP packet?

From: narke
Subject: Re: [lwip-users] Callback when get any IP or ICMP packet?
Date: Thu, 13 Oct 2011 10:11:48 +0800

On 10 October 2011 12:29, Simon Goldschmidt <address@hidden> wrote:
>  Paul Archer <address@hidden> wrote:
>>> As i said, a good example for using a raw pcb is in the ping app. Have you 
>>> had a look at it? In the receive callback, just always return 0, then no 
>>> packet will get changed.
>> I thought I would paste a link to the exact ping.c file that Simon is
>> referring too.
>> http://cvs.savannah.gnu.org/viewvc/contrib/apps/ping/ping.c?root=lwip&view=markup
> Even if the file might not have been changed since then, we have moved from 
> CVS to git a while ago and the correct link is now:
> http://git.savannah.gnu.org/cgit/lwip/lwip-contrib.git/tree/apps/ping/ping.c
> Simon

Actually, in the contribution directory of official release of
lwIP-1.4.0, the ping.c sample has already right enough.

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

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

reply via email to

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