Fast PcapDumper API

Printer-friendly

Added a fast native PcapDumper handler that allows packet dumps completely in native land without entering java environment once set running.

Two new methods have been added to Pcap class:

Notice that these two methods forgo the use of a handler and accept the PcapDumper instance directly. The methods provide their own internal super fast native dumper handler that hands off unprocessed packets as fast as it can natively without entering java environment.

Of course, if you need to process each packet within a handler, you can use the normal handler loop and dispatch methods that have not changed.