From owner-freebsd-hackers Wed Jun 28 16:57:51 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from falla.videotron.net (falla.videotron.net [205.151.222.106]) by hub.freebsd.org (Postfix) with ESMTP id 6F69637C234; Wed, 28 Jun 2000 16:57:40 -0700 (PDT) (envelope-from bmilekic@dsuper.net) Received: from modemcable009.62-201-24.mtl.mc.videotron.net ([24.201.62.9]) by falla.videotron.net (Sun Internet Mail Server sims.3.5.1999.12.14.10.29.p8) with ESMTP id <0FWW00GP61WUFU@falla.videotron.net>; Wed, 28 Jun 2000 19:43:43 -0400 (EDT) Date: Wed, 28 Jun 2000 19:45:42 -0400 (EDT) From: Bosko Milekic Subject: Re: mbuf re-write(s): v 0.2: request-for-comments In-reply-to: <20000628154740.A53117@panzer.kdm.org> X-Sender: bmilekic@jehovah.technokratis.com To: "Kenneth D. Merry" Cc: freebsd-hackers@FreeBSD.ORG, freebsd-net@FreeBSD.ORG Message-id: MIME-version: 1.0 Content-type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Wed, 28 Jun 2000, Kenneth D. Merry wrote: > FWIW, I'm in favor of a pointer argument as well. The way I implemented it > was actually with a third argument, instead of changing the int to void. > i.e.: [...] > I don't feel too strongly about it either way -- I suppose it's about the > same amount of work to port older code. (I just put an ifdef in the > sendfile code, which doesn't use the third argument in my tree.) The u_int is really unnecessary. If the caller needs more important information, he can pass anything he likes, including a data structure, or even a pointer to the mbuf. So this information can be extracted in either case. > > Ken > -- > Kenneth Merry > ken@kdm.org > > -- Bosko Milekic * Voice/Mobile: 514.865.7738 * Pager: 514.921.0237 bmilekic@technokratis.com * http://www.technokratis.com/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message