Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 2 Oct 2008 12:16:40 +0300
From:      "Yony Yossef" <yonyossef.lists@gmail.com>
To:        freebsd-net@freebsd.org, freebsd-questions@freebsd.org
Subject:   Freeing an mbuf cluster
Message-ID:  <20def4870810020216x31f9c0d8yd4776622928c412e@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
Hi All,

I'm trying to manually build an mbuf chain with clusters in various sizes.
I'm doing it using the MGETHDR and MEXTADD macros, it works fine.
Now I'm looking for the simplest way to free an mbuf cluster, since I want
to free the clusters seperately. This function will be given as a parameter
to MEXTADD.

Is there a simple command like 'free(buf)' to free an mbuf cluster?

Thanks
Yony



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20def4870810020216x31f9c0d8yd4776622928c412e>