tcpdump mailing list archives

[patch] zerocopy bpf for libpcap


From: Christian Peron <csjp () freebsd org>
Date: Fri, 12 Sep 2008 08:30:31 -0500

All,

I have included a patch for review.  This adds zero-copy bpf support
to libpcap.  It should be noted that I've tried to incorporate all
the feedback that I recieved after the previous submission.

There was one un-related fix in this patch:

Index: configure.in
===================================================================
RCS file: /tcpdump/master/libpcap/configure.in,v
retrieving revision 1.154
diff -u -r1.154 configure.in
@@ -37,7 +62,7 @@
 AC_CHECK_HEADERS(net/pfvar.h, , , [#include <sys/types.h>
 #include <sys/socket.h>
 #include <net/if.h>])
-if test "$ac_cv_header_net_pfvar_h" == yes; then
+if test "$ac_cv_header_net_pfvar_h" = yes; then
        #
        # Check for various PF actions.
        #

This should fix the check for pf.

Attachment: libpcap-zerocopy.1221224809.diff
Description:

-
This is the tcpdump-workers list.
Visit https://cod.sandelman.ca/ to unsubscribe.

Current thread: