From owner-freebsd-arch Tue Feb 6 10:59:21 2001 Delivered-To: freebsd-arch@freebsd.org Received: from fw.wintelcom.net (ns1.wintelcom.net [209.1.153.20]) by hub.freebsd.org (Postfix) with ESMTP id 2968337B401; Tue, 6 Feb 2001 10:59:01 -0800 (PST) Received: (from bright@localhost) by fw.wintelcom.net (8.10.0/8.10.0) id f16Iwkd17957; Tue, 6 Feb 2001 10:58:46 -0800 (PST) Date: Tue, 6 Feb 2001 10:58:46 -0800 From: Alfred Perlstein To: Boris Popov Cc: freebsd-arch@FreeBSD.ORG, freebsd-net@FreeBSD.ORG Subject: Re: CFR: Sequential mbuf read/write extensions Message-ID: <20010206105846.Q26076@fw.wintelcom.net> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from bp@butya.kz on Tue, Feb 06, 2001 at 05:50:52PM +0600 Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG * Boris Popov [010206 03:51] wrote: > [Please trim CC list as necessary] > > Hello, > > Before starting import process for smbfs, I would like to > introduce new API which greatly simplifies process of packaging data into > mbufs and fetching it back (in fact, similar API already presented in the > tree, but it is private to the netncp code and it will be really nice to > share it). [snip] Looks really cool, I can't get to http://www.butya.kz/~bp/mbuf/, but from the examples it looks very useful. I was wondering if you planned or already had an API for reading/writing from/into host/network byte order? Not that it's needed, but would be nice to have. Also any chance we'll get manpages that describe these functions/macros? On other idea is to give each op a 'count' parameter, your examples seem to show various functions being called several times in a row, maybe they would help optimize certain codepaths? Not that any of these suggestions are really required, I just wanted to give you some feedback. :) -- -Alfred Perlstein - [bright@wintelcom.net|alfred@freebsd.org] "I have the heart of a child; I keep it in a jar on my desk." To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message