Lines Matching refs:ipq
104 /* Protects `ipq' and `ip_frags'. */
108 LIST_HEAD(, ipq) ipq;
155 struct mbuf * ip_reass(struct ipqent *, struct ipq *);
156 void ip_freef(struct ipq *);
200 pool_init(&ipq_pool, sizeof(struct ipq), 0,
201 IPL_SOFTNET, 0, "ipq", NULL);
214 LIST_INIT(&ipq);
633 struct ipq *fp;
684 LIST_FOREACH(fp, &ipq, ipq_q) {
944 ip_reass(struct ipqent *ipqe, struct ipq *fp)
970 LIST_INSERT_HEAD(&ipq, fp, ipq_q);
1125 ip_freef(struct ipq *fp)
1148 struct ipq *fp, *nfp;
1151 LIST_FOREACH_SAFE(fp, &ipq, ipq_q, nfp) {
1170 while (!LIST_EMPTY(&ipq) && ip_frags > ip_maxqueue * 3 / 4 && --max) {
1172 ip_freef(LIST_FIRST(&ipq));