lwip-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [lwip-users] Program hangs in ip_frag()


From: pekez
Subject: Re: [lwip-users] Program hangs in ip_frag()
Date: Mon, 6 Mar 2017 10:57:23 +0100
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.7.1

1) netif->mtu = XEMACPS_MTU - XEMACPS_HDR_SIZE;

#define XEMACPS_MTU 1500U /* max MTU size of Ethernet frame */
#define XEMACPS_HDR_SIZE        14U    /* size of Ethernet header */

2) how can I check exact length of pbufs?

3) Yep, IP_FRAG_USES_STATIC_BUF and LWIP_NETIF_TX_SINGLE_PBUF are both 0.

Thanks!

On 6.3.2017 10:51, Simon Goldschmidt wrote:
pekez wrote:
Anyone? Not a single person can tell me something about this problem?
Does not seem so.

Could you give us more info:
- what is netif->mtu set to
- exact length of pbufs in a chaing > 1480
- setting of IP_FRAG_USES_STATIC_BUF and LWIP_NETIF_TX_SINGLE_PBUF (I assume 
both are 0 - default)
That way I could try to have a quick look.


Simon

_______________________________________________
lwip-users mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/lwip-users




reply via email to

[Prev in Thread] Current Thread [Next in Thread]