FreeBSD/sys/netinet/ip_reass.c
/*
 * Free a fragment reassembly header and all associated datagrams.
 */
Free a fragment reassembly header and all associated datagrams.
Free a fragment reassembly header and all associated datagrams .
static void
ipq_free(struct ipqhead *fhp, struct ipq *fp)
{
	struct mbuf *q;
	while (fp->ipq_frags) {
		q = fp->ipq_frags;
		fp->ipq_frags = q->m_nextpkt;
		m_freem(q);
	}
	TAILQ_REMOVE(fhp, fp, ipq_list);
	uma_zfree(V_ipq_zone, fp);
}
static void ipq_free ( struct ipqhead * fhp , struct ipq * fp ) { struct mbuf * q ; while ( fp -> ipq_frags ) { q = fp -> ipq_frags ; fp -> ipq_frags = q -> m_nextpkt ; m_freem ( q ) ; } TAILQ_REMOVE ( fhp , fp , ipq_list ) ; uma_zfree ( V_ipq_zone , fp ) ; }
Free a fragment reassembly header and all associated datagrams.
Free a fragment reassembly header and all associated datagrams .