From owner-freebsd-net Mon Dec 11 13:36:32 2000 From owner-freebsd-net@FreeBSD.ORG Mon Dec 11 13:36:30 2000 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from falla.videotron.net (falla.videotron.net [205.151.222.106]) by hub.freebsd.org (Postfix) with ESMTP id 54F5D37B400 for ; Mon, 11 Dec 2000 13:36:30 -0800 (PST) Received: from modemcable213.3-201-24.mtl.mc.videotron.ca ([24.201.3.213]) by falla.videotron.net (Sun Internet Mail Server sims.3.5.1999.12.14.10.29.p8) with ESMTP id <0G5F00BNBAO7GC@falla.videotron.net> for net@FreeBSD.ORG; Mon, 11 Dec 2000 16:36:08 -0500 (EST) Date: Mon, 11 Dec 2000 16:37:15 -0500 (EST) From: Bosko Milekic Subject: Re: Abusing m_ext for a worthy goal. In-reply-to: <20001211121354.E16205@fw.wintelcom.net> To: Alfred Perlstein Cc: net@FreeBSD.ORG Message-id: MIME-version: 1.0 Content-type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org 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. :-) > 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? > > thanks, > -- > -Alfred Perlstein - [bright@wintelcom.net|alfred@freebsd.org] > "I have the heart of a child; I keep it in a jar on my desk." Bosko Milekic bmilekic@technokratis.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message