Lines Matching refs:next

25  * pbuf of a packet has a ->next field other than NULL, more packets
29 * loop end condition (tot_len == p->len), NOT (next == NULL).
127 for (pcb = tcp_active_pcbs; NULL != pcb; pcb = pcb->next) {
246 p->next = NULL;
266 /* remember first pbuf for linkage in next iteration */
282 q->next = NULL;
284 r->next = q;
285 /* set total length of this pbuf and next in chain */
299 /* remember this pbuf for linkage in next iteration */
303 /*r->next = NULL;*/
315 p->next = NULL;
336 p->next = NULL;
400 p->pbuf.next = NULL;
462 /* proceed to next pbuf in chain */
463 q = q->next;
481 if (q->next != NULL) {
483 pbuf_free(q->next);
486 q->next = NULL;
656 /* remember next pbuf in chain for next iteration */
657 q = p->next;
681 /* proceed to next pbuf */
711 p = p->next;
753 for (p = h; p->next != NULL; p = p->next) {
757 /* { p is last pbuf of first h chain, p->next == NULL } */
759 LWIP_ASSERT("p->next == NULL", p->next == NULL);
763 p->next = t;
764 /* p->next now references t, but the caller will drop its reference to t,
781 * The ->next field of the last pbuf of the head chain is adjusted.
808 q = p->next;
811 /* assert tot_len invariant: (p->tot_len == p->len + (p->next? p->next->tot_len: 0) */
816 p->next = NULL;
828 /* assert tot_len invariant: (p->tot_len == p->len + (p->next? p->next->tot_len: 0) */
880 /* on to next p_from (if any) */
882 p_from = p_from->next;
885 /* on to next p_to (if any) */
887 p_to = p_to->next;
894 (p_from->next == NULL), return ERR_VAL;);
899 (p_to->next == NULL), return ERR_VAL;);
935 for(p = buf; len != 0 && p != NULL; p = p->next) {
937 /* don't copy from this buffer -> on to the next */
981 for(p = buf; total_copy_len != 0; p = p->next) {
1006 * @return a new, single pbuf (p->next is NULL)
1014 if (p->next == NULL) {
1085 q = q->next;
1112 q = q->next;