Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 6 Feb 2001 10:58:46 -0800
From:      Alfred Perlstein <bright@wintelcom.net>
To:        Boris Popov <bp@butya.kz>
Cc:        freebsd-arch@FreeBSD.ORG, freebsd-net@FreeBSD.ORG
Subject:   Re: CFR: Sequential mbuf read/write extensions
Message-ID:  <20010206105846.Q26076@fw.wintelcom.net>
In-Reply-To: <Pine.BSF.4.21.0102061703030.82511-100000@lion.butya.kz>; from bp@butya.kz on Tue, Feb 06, 2001 at 05:50:52PM %2B0600
References:  <Pine.BSF.4.21.0102061703030.82511-100000@lion.butya.kz>

next in thread | previous in thread | raw e-mail | index | archive | help
* Boris Popov <bp@butya.kz> [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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010206105846.Q26076>