On 2016-12-12 at 22:09:52 +0100, Vadim Kochan <vadi...@gmail.com> wrote:
> Add new pcap io API to make pcap read/write accesses more
> simpler and generic. Added pcap_io & pcap_packet struct's to
> keep some internal pcap state like magic, link type & packet header
> instead of to pass them like parameters and keep it all within netsniff-ng.c.
> 
> Also such approach might be used to unify sniffing from ring buffer via
> pcap io API similary as it is done with regular files.
> 
> Some fast-path sensitive or setter/getter functions were inlined in pcap_io.h.

This series touches very sensitive fast-path code. Before even reviewing
it, I'd like to see performance measurments proofing that the your
patches don't introduce any performance regressions and that inlining of
these functions indeed does the job.

Thanks!

-- 
You received this message because you are subscribed to the Google Groups 
"netsniff-ng" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to netsniff-ng+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to