lwip-users
[Top][All Lists]
Advanced

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

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


From: Simon Goldschmidt
Subject: Re: [lwip-users] Callback when get any IP or ICMP packet?
Date: Sat, 8 Oct 2011 18:40:53 +0200

narke <address@hidden> wrote:

> For the technical you mentioned, would you please show me a code
> illustration?  I just need to 'listen' on any IP packet coming to my
> interface but without changing it.  Hacking ip_input() might be a
> solution (as Kieran probably pointed out), but I am looking for a
> better way.

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.

Simon
> 



reply via email to

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