Lines Matching refs:ip_queue
59 typedef STAILQ_HEAD(ipqueue, ip_queue) ip_queue_t;
60 struct ip_queue { struct
63 STAILQ_ENTRY(ip_queue) ipq_next; argument
76 ip_queue_t ip_queue; member
135 struct ip_queue *ipq; in ip_reasm_free()
137 while ((ipq = STAILQ_FIRST(&ipr->ip_queue)) != NULL) { in ip_reasm_free()
138 STAILQ_REMOVE_HEAD(&ipr->ip_queue, ipq_next); in ip_reasm_free()
149 struct ip_queue *ipq, *prev, *p; in ip_reasm_add()
158 STAILQ_FOREACH(p, &ipr->ip_queue, ipq_next) { in ip_reasm_add()
167 STAILQ_INSERT_AFTER(&ipr->ip_queue, prev, ipq, ipq_next); in ip_reasm_add()
170 STAILQ_INSERT_HEAD(&ipr->ip_queue, ipq, ipq_next); in ip_reasm_add()
189 struct ip_queue *ipq, *last; in readipv4()
308 STAILQ_INIT(&ipr->ip_queue); in readipv4()
347 STAILQ_FOREACH(ipq, &ipr->ip_queue, ipq_next) { in readipv4()
362 ipq = STAILQ_FIRST(&ipr->ip_queue); in readipv4()
377 STAILQ_FOREACH(ipq, &ipr->ip_queue, ipq_next) { in readipv4()