* Dump the chain of pbuf pointers to the debug output. */
| 452 | * Dump the chain of pbuf pointers to the debug output. |
| 453 | */ |
| 454 | void |
| 455 | tivaif_trace_pbuf(const char *pcTitle, struct pbuf *p) |
| 456 | { |
| 457 | LWIP_DEBUGF(NETIF_DEBUG, ("%s %08x (%d, %d)", pcTitle, p, p->tot_len, |
| 458 | p->len)); |
| 459 | |
| 460 | do |
| 461 | { |
| 462 | p = p->next; |
| 463 | if(p) |
| 464 | { |
| 465 | LWIP_DEBUGF(NETIF_DEBUG, ("->%08x(%d)", p, p->len)); |
| 466 | } |
| 467 | else |
| 468 | { |
| 469 | LWIP_DEBUGF(NETIF_DEBUG, ("->%08x", p)); |
| 470 | } |
| 471 | |
| 472 | } while((p != NULL) && (p->tot_len != p->len)); |
| 473 | |
| 474 | LWIP_DEBUGF(NETIF_DEBUG, ("\n")); |
| 475 | } |
| 476 | #endif |
| 477 | |
| 478 | /** |