netmap, VALE and netmap pipes
Olivier Cochard-Labbé
olivier at cochard.me
Wed Feb 19 21:14:40 UTC 2014
On Mon, Feb 17, 2014 at 11:11 AM, Luigi Rizzo <rizzo at 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
More information about the freebsd-net
mailing list