Lines Matching refs:ipasfrag
54 static void ip_enq(register struct ipasfrag *p,
55 register struct ipasfrag *prev);
56 static void ip_deq(register struct ipasfrag *p);
259 #define iptofrag(P) ((struct ipasfrag *)(((char*)(P)) - sizeof(struct qlink)))
271 register struct ipasfrag *q; in ip_reass()
302 q = (struct ipasfrag *)fp; in ip_reass()
309 for (q = fp->frag_link.next; q != (struct ipasfrag *)&fp->frag_link; in ip_reass()
320 struct ipasfrag *pq = q->ipf_prev; in ip_reass()
335 while (q != (struct ipasfrag*)&fp->frag_link && in ip_reass()
356 for (q = fp->frag_link.next; q != (struct ipasfrag*)&fp->frag_link; in ip_reass()
362 if (((struct ipasfrag *)(q->ipf_prev))->ipf_tos & 1) in ip_reass()
371 q = (struct ipasfrag *) q->ipf_next; in ip_reass()
372 while (q != (struct ipasfrag*)&fp->frag_link) { in ip_reass()
374 q = (struct ipasfrag *) q->ipf_next; in ip_reass()
395 q = (struct ipasfrag *)(m->m_ext + delta); in ip_reass()
426 register struct ipasfrag *q, *p; in ip_freef()
428 for (q = fp->frag_link.next; q != (struct ipasfrag*)&fp->frag_link; q = p) { in ip_freef()
442 ip_enq(register struct ipasfrag *p, register struct ipasfrag *prev) in ip_enq()
448 ((struct ipasfrag *)(prev->ipf_next))->ipf_prev = p; in ip_enq()
456 ip_deq(register struct ipasfrag *p) in ip_deq()
458 ((struct ipasfrag *)(p->ipf_prev))->ipf_next = p->ipf_next; in ip_deq()
459 ((struct ipasfrag *)(p->ipf_next))->ipf_prev = p->ipf_prev; in ip_deq()