On Wed, 2006-03-22 at 10:06 +0100, Jan Ulvesten wrote:

> The flag tells the underlying network to don’t fragment the IP packet?
> Why making such a requirement?  

I'm not sure why it's like that in lwIP, but more generally you might
set this bit if you're doing path MTU discovery, and so believe you have
chosen an MTU that should not need fragmenting.  If you set this bit,
and it turns out the packet does need fragmenting, you'll get an ICMP
message telling you this from whoever drops the packet, and so you can
update your MTU for future packets.

Kieran



_______________________________________________
lwip-users mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/lwip-users

Reply via email to