tcpdump mailing list archives

Re: code available: netmap support for libpcap


From: Luigi Rizzo <rizzo () iet unipi it>
Date: Sat, 15 Feb 2014 13:24:27 -0800

On Sat, Feb 15, 2014 at 1:15 PM, Michael Richardson <mcr () sandelman ca>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 in the build it references some new library.


There isn't any new library, which eases distributing binaries.

./configure checks for the presence of the netmap headers,
and if so compiles the extra file.

At runtime, netmap only uses open(), ioctl(), mmap() and poll().

Data structures are simple enough that a few macros
or inline functions in netmap_user.h are all is needed
to access the port and do I/O.

cheers
luigi

_______________________________________________
tcpdump-workers mailing list
tcpdump-workers () lists tcpdump org
https://lists.sandelman.ca/mailman/listinfo/tcpdump-workers


Current thread: