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? 

 

 

Jan Ulvesten

 

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

Reply via email to