Freeing an mbuf cluster
Yony Yossef
yonyossef.lists at gmail.com
Thu Oct 2 09:40:35 UTC 2008
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
More information about the freebsd-net
mailing list