Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Sep 2008 20:32:29 +0000 (UTC)
From:      "Christian S.J. Peron" <csjp@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/contrib/libpcap pcap-bpf.c pcap-int.h pcap.c
Message-ID:  <200809162032.m8GKWinF013274@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
csjp        2008-09-16 20:32:29 UTC

  FreeBSD src repository

  Modified files:
    contrib/libpcap      pcap-bpf.c pcap-int.h pcap.c 
  Log:
  SVN rev 183102 on 2008-09-16 20:32:29Z by csjp
  
  Implement zero-copy bpf(4) buffer or "zbuf" support for libpcap.  A slightly
  different version has been committed upstream in the libpcap vendor branch.
  This will allow people to experiment with zero-copy bpf(4) without requiring
  external patches.
  
  Note to enable this functionality:
  
      sysctl net.bpf.zerocopy_enable=1
  
  By default, libpcap will use the legacy buffering method unless this sysctl
  variable is set to 1.
  
  For the details about zero-copy bpf(4) implementation see svn change r177548.
  
  Requested by:           many
  Discussed with:         sam
  In collaboration with:  rwatson
  
  Revision  Changes    Path
  1.5       +310 -36   src/contrib/libpcap/pcap-bpf.c
  1.14      +25 -1     src/contrib/libpcap/pcap-int.h
  1.2       +766 -24   src/contrib/libpcap/pcap.c



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200809162032.m8GKWinF013274>