Hi,
i have recently made an update to the netmap I/O framework
http://info.iet.unipi.it/~luigi/netmap/
that should make it easier to add netmap support to libpcap.
So I was wondering if there is any interest to implement this
and how we can go for it.
In short (see the webpage for detail
nly used for capture,
*** and goes back to regular mode when you exit the tcpdump
LD_LIBRARY_PATH=. tcpdump -ni netmap:eth0
cheers
luigi
On Wed, Dec 4, 2013 at 7:27 PM, Luigi Rizzo wrote:
> Hi,
> i have recently made an update to the netmap I/O framework
>
> http://in
+ || !strncmp(device, "netmap:", 7)
+ || !strncmp(device, "vale", 4)
+#endif
#ifdef HAVE_SNF_API
|| strstr(device, "snf") != NULL
#endif
diff --git a/pcap-netmap.c b/pcap-netmap.c
new file mode 100644
index 000..df2d01c
--- /dev/nul
On Sat, Feb 15, 2014 at 1:15 PM, Michael Richardson wrote:
>
> So, basically if we use a device name like "netmap:" or "vale",
> then we would get support for it. Are there dependancies that would
> piss off distros that we should worry about? You say that we need netmap,
> but I don't see where
On Sat, Feb 15, 2014 at 1:37 PM, Guy Harris wrote:
>
> On Feb 15, 2014, at 1:24 PM, Luigi Rizzo wrote:
>
> > At runtime, netmap only uses open(), ioctl(), mmap() and poll().
>
> ...and nm_dispatch(). Is that an inline function defined in the headers?
>
yes, same as nm
On Sat, Feb 15, 2014 at 01:41:41PM -0800, Guy Harris wrote:
>
> On Feb 15, 2014, at 12:17 PM, Luigi Rizzo wrote:
>
> > + p->linktype = DLT_EN10MB;
>
> So this either
>
> 1) only works on Ethernet devices and devices that supply Ethernet
> header
On Sat, Feb 15, 2014 at 11:24:28PM +0100, Luigi Rizzo wrote:
...
> I think what Michael means is that if we include net/netmap.h and
> net/netmap_user.h in the libpcap distribution, we can have the support
> always compiled in and postpone the decision at com
On Sat, Feb 15, 2014 at 01:59:48PM -0800, Guy Harris wrote:
>
> On Feb 15, 2014, at 1:44 PM, Michael Richardson wrote:
>
> > where do those headers come from? Would it make sense to just include
> > those headers with libpcap? That way netmap would always be available.
>
> There's "netmap", w
On Thu, Feb 27, 2014 at 11:24 AM, Guy Harris wrote:
>
> On Feb 15, 2014, at 2:10 PM, Luigi Rizzo wrote:
>
> > Netmap works at least on any interface visible to the OS
> > (in native or emulated mode, the latter with some limitations
> > e.g not when the interface is
On Thu, Feb 27, 2014 at 1:05 PM, Guy Harris wrote:
>
> On Feb 27, 2014, at 12:57 PM, Luigi Rizzo wrote:
>
> > this can be used to plumb things together.
>
> If you want to plumb things together, do you need libpcap?
>
the plumbing is done by netmap/vale/netmap pipes.
10 matches
Mail list logo