|
From: | address@hidden |
Subject: | Re: [lwip-users] ping with packet size greater than MSS |
Date: | Mon, 20 Jul 2009 17:53:23 +0200 |
User-agent: | Thunderbird 2.0.0.22 (Macintosh/20090605) |
Bernhard 'Gustl' Bauer wrote:
Hi, how does LWIP treat these pings?
Incoming or outgoing? For incoming, IP_REASSEMBLY must be set to 1. For outgoing, IP_FRAG must be set to 1. If so, the pings should be handled correctly. If not, some error counter in LWIP_STATS should be increased.
What Kieran remembered was a problem where the incoming ping packet did not have enough memory to be re-used as an outgoing packet (which is the default implementation of ping). However, since LWIP_ICMP_ECHO_CHECK_INPUT_PBUF_LEN defaults to 1 and is not exposed in opt.h, there should be no need to change it.
Simon
[Prev in Thread] | Current Thread | [Next in Thread] |