[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: |
Simon Goldschmidt |
Subject: |
Re: [lwip-users] Callback when get any IP or ICMP packet? |
Date: |
Sat, 8 Oct 2011 10:51:38 +0200 |
narke <address@hidden> wrote:
> Could you please shortly hint me how to do it using raw pcb? Many thanks!
RAW pcbs are used to send/receive IP packets and implement other transport
protocols on it. For example, the ping example app in contrib uses a raw pcb or
socket to send ICMP requests and receive responses. You can find out more about
that by examining the ping source code.
>
>>
On RX, when using a raw pcb, you can tell lwIP wether you handled the packet
(called "eat" it) or pass it on to the rest of the stack. When using a raw
socket, you always receive a copy of the packet.
Simon
- [lwip-users] Callback when get any IP or ICMP packet?, narke, 2011/10/08
- Re: [lwip-users] Callback when get any IP or ICMP packet?, Simon Goldschmidt, 2011/10/08
- Re: [lwip-users] Callback when get any IP or ICMP packet?, narke, 2011/10/08
- Re: [lwip-users] Callback when get any IP or ICMP packet?,
Simon Goldschmidt <=
- Re: [lwip-users] Callback when get any IP or ICMP packet?, narke, 2011/10/08
- Re: [lwip-users] Callback when get any IP or ICMP packet?, Simon Goldschmidt, 2011/10/08
- Re: [lwip-users] Callback when get any IP or ICMP packet?, Paul Archer, 2011/10/09
- Re: [lwip-users] Callback when get any IP or ICMP packet?, Simon Goldschmidt, 2011/10/10
- Re: [lwip-users] Callback when get any IP or ICMP packet?, narke, 2011/10/12
- Re: [lwip-users] Callback when get any IP or ICMP packet?, narke, 2011/10/09