Function

mbuf_freem_list

Declaration

int mbuf_freem_list(mbuf_t mbuf);

Parameters

mbuf

The first mbuf in the linked list to free.

Return Value

The number of mbufs freed.

Discussion

Frees linked list of mbuf chains. Walks through mnextpackt and does the equivalent of mbuf_freem to each.