Lines Matching refs:ip_queue
61 typedef STAILQ_HEAD(ipqueue, ip_queue) ip_queue_t;
62 struct ip_queue { struct
65 STAILQ_ENTRY(ip_queue) ipq_next; argument
78 ip_queue_t ip_queue; member
137 struct ip_queue *ipq; in ip_reasm_free()
139 while ((ipq = STAILQ_FIRST(&ipr->ip_queue)) != NULL) { in ip_reasm_free()
140 STAILQ_REMOVE_HEAD(&ipr->ip_queue, ipq_next); in ip_reasm_free()
151 struct ip_queue *ipq, *prev, *p; in ip_reasm_add()
160 STAILQ_FOREACH(p, &ipr->ip_queue, ipq_next) { in ip_reasm_add()
169 STAILQ_INSERT_AFTER(&ipr->ip_queue, prev, ipq, ipq_next); in ip_reasm_add()
172 STAILQ_INSERT_HEAD(&ipr->ip_queue, ipq, ipq_next); in ip_reasm_add()
191 struct ip_queue *ipq, *last; in readipv4()
310 STAILQ_INIT(&ipr->ip_queue); in readipv4()
349 STAILQ_FOREACH(ipq, &ipr->ip_queue, ipq_next) { in readipv4()
364 ipq = STAILQ_FIRST(&ipr->ip_queue); in readipv4()
379 STAILQ_FOREACH(ipq, &ipr->ip_queue, ipq_next) { in readipv4()