tcpdump mailing list archives

Re: code available: netmap support for libpcap


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

On Sat, Feb 15, 2014 at 1:37 PM, Guy Harris <guy () alum mit edu> wrote:


On Feb 15, 2014, at 1:24 PM, Luigi Rizzo <rizzo () iet unipi it> 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_open() and a few others: this is what
i meant when I said

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



-- 
-----------------------------------------+-------------------------------
 Prof. Luigi RIZZO, rizzo () iet unipi it  . Dip. di Ing. dell'Informazione
 http://www.iet.unipi.it/~luigi/        . Universita` di Pisa
 TEL      +39-050-2211611               . via Diotisalvi 2
 Mobile   +39-338-6809875               . 56122 PISA (Italy)
-----------------------------------------+-------------------------------
_______________________________________________
tcpdump-workers mailing list
tcpdump-workers () lists tcpdump org
https://lists.sandelman.ca/mailman/listinfo/tcpdump-workers


Current thread: