From owner-soc-status@FreeBSD.ORG Fri Jul 31 15:51:37 2009 Return-Path: Delivered-To: soc-status@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BFB86106564A; Fri, 31 Jul 2009 15:51:37 +0000 (UTC) (envelope-from wkoszek@freebsd.czest.pl) Received: from freebsd.czest.pl (l95h.icis.pcz.pl [212.87.224.105]) by mx1.freebsd.org (Postfix) with ESMTP id 4C9D28FC14; Fri, 31 Jul 2009 15:51:35 +0000 (UTC) (envelope-from wkoszek@freebsd.czest.pl) Received: from freebsd.czest.pl (l95h.icis.pcz.pl [212.87.224.105]) by freebsd.czest.pl (8.14.2/8.14.2) with ESMTP id n6VFa91J084473; Fri, 31 Jul 2009 17:36:09 +0200 (CEST) (envelope-from wkoszek@freebsd.czest.pl) Received: (from wkoszek@localhost) by freebsd.czest.pl (8.14.2/8.14.2/Submit) id n6VFa9XZ084472; Fri, 31 Jul 2009 17:36:09 +0200 (CEST) (envelope-from wkoszek) Date: Fri, 31 Jul 2009 17:36:09 +0200 From: "Wojciech A. Koszek" To: marta carbone Message-ID: <20090731153609.GG28136@FreeBSD.org> Mail-Followup-To: marta carbone , soc-status@freebsd.org, freebsd-current@freebsd.org References: MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.17 (2007-11-01) X-Greylist: Sender DNS name whitelisted, not delayed by milter-greylist-3.0 (freebsd.czest.pl [212.87.224.105]); Fri, 31 Jul 2009 17:36:09 +0200 (CEST) Cc: soc-status@freebsd.org, freebsd-current@freebsd.org Subject: Re: sbuf(9) functions in userspace X-BeenThere: soc-status@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Summer of Code Status Reports and Discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 31 Jul 2009 15:51:38 -0000 On Fri, Jul 31, 2009 at 03:53:49PM +0200, marta carbone wrote: > Hello, > > as part of the GSoc project I'm working on the ipfw code, > and I need some functions similar to the sbuf(9) family but > working in userspace. > There is something like that already available for userland? > > Otherwise I could use the following library: > > http://info.iet.unipi.it/~luigi/FreeBSD/#dynstring > > that works like the sbuf(9) functions and it is ready to be used > in userland. sbuf_subr.c are used in the user-space as well -- the very same file is compiled as a user-space library. Take a look at: src/lib/libsbuf -- Wojciech A. Koszek wkoszek@FreeBSD.org http://FreeBSD.czest.pl/~wkoszek/