On 24 Nov 2011, at 07:53, 賴育德 wrote:

> Why pbuf-> len = 0?
> pbuf-> len length not be equal to the pbuf-> tot_len it?
> how can I do?

pbuf->len is the length of this pbuf.  pbuf->tot_len is the sum of the lengths 
of this pbuf and all those chained together to form a packet using pbuf->next. 

Having pbuf->len=0 is a bit odd though.  Is this for a received packet or one 
you are sending?  Is there another pbuf linked by pbuf->next?  If so, what is 
its length?

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

Reply via email to