Lines Matching refs:next
314 struct sk_buff *xp = fp->next; in ip_frag_reinit()
336 struct sk_buff *prev, *next; in ip_frag_queue() local
405 next = NULL; in ip_frag_queue()
409 for (next = qp->q.fragments; next != NULL; next = next->next) { in ip_frag_queue()
410 if (FRAG_CB(next)->offset >= offset) in ip_frag_queue()
412 prev = next; in ip_frag_queue()
438 while (next && FRAG_CB(next)->offset < end) { in ip_frag_queue()
439 int i = end - FRAG_CB(next)->offset; /* overlap is 'i' bytes */ in ip_frag_queue()
441 if (i < next->len) { in ip_frag_queue()
445 if (!pskb_pull(next, i)) in ip_frag_queue()
447 FRAG_CB(next)->offset += i; in ip_frag_queue()
449 if (next->ip_summed != CHECKSUM_UNNECESSARY) in ip_frag_queue()
450 next->ip_summed = CHECKSUM_NONE; in ip_frag_queue()
453 struct sk_buff *free_it = next; in ip_frag_queue()
458 next = next->next; in ip_frag_queue()
461 prev->next = next; in ip_frag_queue()
463 qp->q.fragments = next; in ip_frag_queue()
474 skb->next = next; in ip_frag_queue()
475 if (!next) in ip_frag_queue()
478 prev->next = skb; in ip_frag_queue()
544 head = prev->next; in ip_frag_reasm()
549 fp->next = head->next; in ip_frag_reasm()
550 if (!fp->next) in ip_frag_reasm()
552 prev->next = fp; in ip_frag_reasm()
555 head->next = qp->q.fragments->next; in ip_frag_reasm()
586 clone->next = head->next; in ip_frag_reasm()
587 head->next = clone; in ip_frag_reasm()
600 skb_shinfo(head)->frag_list = head->next; in ip_frag_reasm()
603 for (fp=head->next; fp; fp = fp->next) { in ip_frag_reasm()
614 head->next = NULL; in ip_frag_reasm()