diff options
author | csjp <csjp@FreeBSD.org> | 2008-09-16 20:32:29 +0000 |
---|---|---|
committer | csjp <csjp@FreeBSD.org> | 2008-09-16 20:32:29 +0000 |
commit | 2f23d207d357f79e49e932907ea9ff2d2b6aa7d1 (patch) | |
tree | 0b2822d2cf6a1a621cb81787b37bcfb6c5e1e30d /lib/libpmc/libpmc.c | |
parent | 9e9bb2f7eb64da2f1acfd2795dd88fe38360d3d7 (diff) | |
download | FreeBSD-src-2f23d207d357f79e49e932907ea9ff2d2b6aa7d1.zip FreeBSD-src-2f23d207d357f79e49e932907ea9ff2d2b6aa7d1.tar.gz |
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
Diffstat (limited to 'lib/libpmc/libpmc.c')
0 files changed, 0 insertions, 0 deletions