Hello, Im on the way to port lwIP for Renesas R62N. I get some errors in the pbuf lengths.
As i can see the pbuf is allocated correctly, but afterwards its cutted by -16. and thats exactly the different in the size. Sometimes i can see it works correct but sometimes not. I use lwIP 1.41RC1 netif: input length = 60 pbuf_alloc(length=62) pbuf_alloc: allocated pbuf 79C4 pbuf_alloc(length=62) == 79C4 pbuf_header: old 79D4 new 79D6 (-2) pbuf_header: old 79D6 new 79D4 (2) tcpip_thread: PACKET 7714 pbuf_header: old 79D4 new 79E4 (-16) IP (len 52) is longer than pbuf (len 46), IP packet dropped. Any Idea where does it comes from? / How to find the failure? Sometimes the Error is much higher: netif: input length = 60 pbuf_alloc(length=62) pbuf_alloc: allocated pbuf 81E4 pbuf_alloc(length=62) == 81E4 pbuf_header: old 81F4 new 81F6 (-2) pbuf_header: old 81F6 new 81F4 (2) tcpip_thread: PACKET 3D14 pbuf_header: old 81F4 new 8204 (-16) IP (len 368) is longer than pbuf (len 46), IP packet dropped. Thanks Nico _______________________________________________ lwip-users mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/lwip-users
