Lines Matching refs:prev
99 static int ip_frag_reasm(struct ipq *qp, struct sk_buff *prev,
334 struct sk_buff *prev, *next; in ip_frag_queue() local
400 prev = qp->q.fragments_tail; in ip_frag_queue()
401 if (!prev || FRAG_CB(prev)->offset < offset) { in ip_frag_queue()
405 prev = NULL; in ip_frag_queue()
409 prev = next; in ip_frag_queue()
417 if (prev) { in ip_frag_queue()
418 int i = (FRAG_CB(prev)->offset + prev->len) - offset; in ip_frag_queue()
457 if (prev) in ip_frag_queue()
458 prev->next = next; in ip_frag_queue()
474 if (prev) in ip_frag_queue()
475 prev->next = skb; in ip_frag_queue()
500 err = ip_frag_reasm(qp, prev, dev); in ip_frag_queue()
517 static int ip_frag_reasm(struct ipq *qp, struct sk_buff *prev, in ip_frag_reasm() argument
537 if (prev) { in ip_frag_reasm()
538 head = prev->next; in ip_frag_reasm()
546 prev->next = fp; in ip_frag_reasm()