|Subject:||[lwip-users] Don't fragment flag|
|Date:||Wed, 22 Mar 2006 10:06:03 +0100|
check out ip.c: IPH_OFFSET_SET(iphdr, htons(IP_DF));
Can’t be correct, can it ?
During a test which I carried out where the underlying network had a TCP MSS (=512) less than my board; I went into trouble due to this flag. I changed it to
IPH_OFFSET_SET(iphdr, 0); and everything worked fine.
The flag tells the underlying network to don’t fragment the IP packet? Why making such a requirement?
|[Prev in Thread]||Current Thread||[Next in Thread]|