From owner-freebsd-net@FreeBSD.ORG Wed Feb 19 21:14:40 2014 Return-Path: Delivered-To: net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 0BD87906 for ; Wed, 19 Feb 2014 21:14:40 +0000 (UTC) Received: from mail-vc0-x233.google.com (mail-vc0-x233.google.com [IPv6:2607:f8b0:400c:c03::233]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id B81281529 for ; Wed, 19 Feb 2014 21:14:39 +0000 (UTC) Received: by mail-vc0-f179.google.com with SMTP id lh14so1038666vcb.10 for ; Wed, 19 Feb 2014 13:14:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc:content-type; bh=GbAiB4fpEOxKT1y9WfWcAPk5lQpTwBteX0OnPav/JWs=; b=o5f3tdNe1AEbDTPYXmgNJ23yhfJ/JU/WlaQfWHson2qA2COCakwYS5F88NP2zvkMi7 k/X9WwACbtP9IV3m3185/XQax+9AayVk2hQlRPtiX+h/vxGexQgeRTTLcyQQDaBdWkN8 PKgs7tdcV9Lvv4XZvz/6UWB6vFx2C+nkJB9Ri3H5G7BNZt7M2p1ZUh+GjnvU8Slk+Mil L39+4IM23Bb8xR3Wemq2qKNaJ8CmYlpnESfsmdWBmQ34JlNWWsHAJdqrbpV/Oqt8Cii6 6OhxNjdsIrzsdfOlsTYVmBd7/BCpFtuO6yRvkB0EMRp3E2wDXQdXTdgIlMMiBOsrSj5j 47Ow== X-Received: by 10.52.246.162 with SMTP id xx2mr1554196vdc.93.1392844478610; Wed, 19 Feb 2014 13:14:38 -0800 (PST) MIME-Version: 1.0 Sender: cochard@gmail.com Received: by 10.58.188.35 with HTTP; Wed, 19 Feb 2014 13:14:18 -0800 (PST) In-Reply-To: References: From: =?ISO-8859-1?Q?Olivier_Cochard=2DLabb=E9?= Date: Wed, 19 Feb 2014 22:14:18 +0100 X-Google-Sender-Auth: LDwTJ1EjT0gtNCU9af26q-1kkNk Message-ID: Subject: Re: netmap, VALE and netmap pipes To: Luigi Rizzo Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.17 Cc: "freebsd-net@freebsd.org" X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Feb 2014 21:14:40 -0000 On Mon, Feb 17, 2014 at 11:11 AM, Luigi Rizzo wrote: > > > https://code.google.com/p/netmap-ipfw > a netmap-enabled, userspace version of the ipfw firewall and > dummynet network emulator. This version reaches 7-10 Mpps for > filtering and over 2.5 Mpps for emulation. > > > Hope you'll find it useful. > Hi, I didn't reach to compile netmap-ipfw under FreeBSD (10-stable r261209 and 11.0-CURRENT r262140): fetch http://netmap.googlecode.com/archive/7f66866e7b735497cc0f0b81cfca94e32e81a182.zip fetch http://netmap-ipfw.googlecode.com/archive/1430cbad0d128aebb80bbd54be970afb8fbe1c74.zip unzip 7f66866e7b735497cc0f0b81cfca94e32e81a182.zip unzip 1430cbad0d128aebb80bbd54be970afb8fbe1c74.zip cd netmap-ipfw-1430cbad0d12/ gmake NETMAP_INC=../netmap-7f66866e7b73/sys Building userspace ... gmake[1]: Entering directory `/root/netmap-ipfw-1430cbad0d12/ipfw' (cd ../objs; gmake -f ../Makefile.kipfw include_e) gmake[2]: Entering directory `/root/netmap-ipfw-1430cbad0d12/objs' Building /root/netmap-ipfw-1430cbad0d12/objs/../objs/include_e ... gmake[2]: Leaving directory `/root/netmap-ipfw-1430cbad0d12/objs' CC ipfw2.c CC dummynet.c CC main.c CC ipv6.c CC altq.c CC ../extra/glue.c ../extra/glue.c:181:36: error: comparison of unsigned expression < 0 is always false [-Werror,-Wtautological-compare] if((oldlenp != NULL) && (*oldlenp < 0)) ~~~~~~~~ ^ ~ 1 error generated. gmake[1]: *** [glue.o] Error 1 gmake[1]: Leaving directory `/root/netmap-ipfw-1430cbad0d12/ipfw' gmake: *** [ipfw] Error 2