]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
Merge 272659:
authorluigi <luigi@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Mon, 26 Jan 2015 03:26:37 +0000 (03:26 +0000)
committerluigi <luigi@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Mon, 26 Jan 2015 03:26:37 +0000 (03:26 +0000)
commit42b48e547c4cac76a194c06a5bc72035241f0781
tree1377479f46567882ca18add9b4202d4581f2fd83
parent08fc0dcfca09fdd645061044649967673992eb3c
Merge 272659:

Add netmap support to libpcap. Tcpdump and other native pcap clients
can now run directly on netmap ports using netmap:foo or valeXX:YY
as device names.

Modifications to existing code are small and trivial,
the netmap-specific code is all in a new file.

Please be aware that in netmap mode the physical interface is
disconnected from the host stack, so libpcap will steal the traffic
not just make a copy.

For the full version of the code (including linux and autotools support) see
https://code.google.com/p/netmap-libpcap/

git-svn-id: svn://svn.freebsd.org/base/stable/10@277722 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
contrib/libpcap/inet.c
contrib/libpcap/pcap.c
lib/libpcap/Makefile
lib/libpcap/config.h
lib/libpcap/pcap-netmap.c [new file with mode: 0644]