* Bosko Milekic <[EMAIL PROTECTED]> [001211 13:36] wrote:
>
> On Mon, 11 Dec 2000, Alfred Perlstein wrote:
>
> > Hmm, I think instead of doing this sort of abuse, what I should be
> > doing is allocating an mbuf header, then allocating a mbuf cluster
> > then attaching them using the MEXTADD() macro.
>
> Alfred, I'm surprised you're pointing this out when in my first post,
> the code example does exactly this, minus the mbuf allocation. :-)
Well i understand that, I just didn't want to put all that code in
when a small abstraction would give a good api for other code that
might do this.
> > I'm going to look at the code to see if there's a clean way to do this,
> > if not can you provide an interface for allocating and free'ing
> > clusters by themselves?
:)
--
-Alfred Perlstein - [[EMAIL PROTECTED]|[EMAIL PROTECTED]]
"I have the heart of a child; I keep it in a jar on my desk."
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-net" in the body of the message