rumpkernel/netmap-rumptcpip — pull request #12 by djnz00 (2014-06-18 06:06:44+00:00)
Title: Updated netmap to new virtif interface

Updated netmap to new virtif interface.

Note: this needs the following patch to NetBSD source (rumpsrc) since if RUMP_VIF_LINKSTR is defined, must be included, since SIOC{G,S}LINKSTR are needed by the implementation; will submit this patch to NetBSD separately

--- a/sys/rump/net/lib/libvirtif/if_virt.c
+++ b/sys/rump/net/lib/libvirtif/if_virt.c
@@ -33,6 +33,9 @@ __KERNEL_RCSID(0, "$NetBSD: if_virt.c,v 1.47 2014/04/02 19:44:
#include
#include
#include
+#ifdef RUMP_VIF_LINKSTR
+#include
+#endif

#include
#include