From owner-freebsd-current@FreeBSD.ORG Fri Jul 31 15:16:41 2009 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8939C106566B; Fri, 31 Jul 2009 15:16:41 +0000 (UTC) (envelope-from phk@critter.freebsd.dk) Received: from phk.freebsd.dk (phk.freebsd.dk [130.225.244.222]) by mx1.freebsd.org (Postfix) with ESMTP id 4BB8C8FC13; Fri, 31 Jul 2009 15:16:41 +0000 (UTC) (envelope-from phk@critter.freebsd.dk) Received: from critter.freebsd.dk (critter-phk.freebsd.dk [192.168.48.2]) by phk.freebsd.dk (Postfix) with ESMTP id ADB9569959; Fri, 31 Jul 2009 14:57:08 +0000 (UTC) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.14.3/8.14.3) with ESMTP id n6VEvV2L057771; Fri, 31 Jul 2009 14:57:31 GMT (envelope-from phk@critter.freebsd.dk) To: marta carbone From: "Poul-Henning Kamp" In-Reply-To: Your message of "Fri, 31 Jul 2009 15:53:49 +0200." Date: Fri, 31 Jul 2009 14:57:31 +0000 Message-ID: <57770.1249052251@critter.freebsd.dk> Sender: phk@critter.freebsd.dk Cc: soc-status@freebsd.org, freebsd-current@freebsd.org Subject: Re: sbuf(9) functions in userspace X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 31 Jul 2009 15:16:42 -0000 In message , marta carbone writes: >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? Sbuf is available in userland, just include and link with -lsbuf -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence.