]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Merge 272659:
authorluigi <luigi@FreeBSD.org>
Mon, 26 Jan 2015 03:26:37 +0000 (03:26 +0000)
committerluigi <luigi@FreeBSD.org>
Mon, 26 Jan 2015 03:26:37 +0000 (03:26 +0000)
commit56e35bcee15b57f716afc619097aeeb529d263d0
tree1377479f46567882ca18add9b4202d4581f2fd83
parentefbb33d3cf761b71e78120f04ba76f3afae4da92
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/
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]