Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 Feb 2014 22:14:18 +0100
From:      =?ISO-8859-1?Q?Olivier_Cochard=2DLabb=E9?= <olivier@cochard.me>
To:        Luigi Rizzo <rizzo@iet.unipi.it>
Cc:        "freebsd-net@freebsd.org" <net@freebsd.org>
Subject:   Re: netmap, VALE and netmap pipes
Message-ID:  <CA%2Bq%2BTcqFo=us_HvPZ-e%2BS0yoKa30XATmHqaqv=FkmGk_yeFqCw@mail.gmail.com>
In-Reply-To: <CA%2BhQ2%2Bgbs9aBneUaDGAnKVoPHspzc=5o%2Bh%2Bf_K=T%2BCy8sRxr%2Bw@mail.gmail.com>
References:  <CA%2BhQ2%2Bgbs9aBneUaDGAnKVoPHspzc=5o%2Bh%2Bf_K=T%2BCy8sRxr%2Bw@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Feb 17, 2014 at 11:11 AM, Luigi Rizzo <rizzo@iet.unipi.it> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CA%2Bq%2BTcqFo=us_HvPZ-e%2BS0yoKa30XATmHqaqv=FkmGk_yeFqCw>