|
From: | pekez |
Subject: | Re: [lwip-users] Program hangs in ip_frag() |
Date: | Fri, 3 Mar 2017 11:45:21 +0100 |
User-agent: | Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.7.1 |
I am confused why ip_frag is called only sometimes. It is called from here: if (netif->mtu && (p->tot_len > netif->mtu)) { return ip_frag(p, netif, dest); }netif->mtu is always > 0, so that means the other argument is true as well. I don't get why p->tot_len is sometimes bigger than netif->mtu, since I am always doing the same thing from application. Can you explain this? I have little knowledge on how TCP works under the hood.
When program works fine, it never gets into ip_frag, so that means it get stuck only when this function is called.
On 2.3.2017 19:48, address@hidden wrote:
pekez wrote:I have not real clue what is going on.Me neither. You seem to have a debugger, why don't you try to find out? ;-)(I.e. see where/why it hangs to try to give us more information or even be able to fix it yourself)Cheers, Simon _______________________________________________ lwip-users mailing list address@hidden https://lists.nongnu.org/mailman/listinfo/lwip-users
[Prev in Thread] | Current Thread | [Next in Thread] |