summaryrefslogtreecommitdiffstats
path: root/lib/libpcap/Makefile
diff options
context:
space:
mode:
authorluigi <luigi@FreeBSD.org>2014-10-06 15:48:28 +0000
committerluigi <luigi@FreeBSD.org>2014-10-06 15:48:28 +0000
commit9012a745116d83288fd8bd32fb19bf7ccc83b96d (patch)
treec5862b67e705a3c7407d656cc6e63636b1359c7a /lib/libpcap/Makefile
parentf5d5f98306a369046fc8ba0db8d2c0b97ae2fba5 (diff)
downloadFreeBSD-src-9012a745116d83288fd8bd32fb19bf7ccc83b96d.zip
FreeBSD-src-9012a745116d83288fd8bd32fb19bf7ccc83b96d.tar.gz
Add netmap support to libpcap. Tcpdump and other native pcap application can now
run directly on netmap ports using netmap:foo or valeXX:YY 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/ MFC after: 3 days
Diffstat (limited to 'lib/libpcap/Makefile')
-rw-r--r--lib/libpcap/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/libpcap/Makefile b/lib/libpcap/Makefile
index 8cae1f1..11d7f73 100644
--- a/lib/libpcap/Makefile
+++ b/lib/libpcap/Makefile
@@ -7,6 +7,7 @@ SHLIBDIR?= /lib
LIB= pcap
SRCS= grammar.y tokdefs.h version.h pcap-bpf.c \
+ pcap-netmap.c \
pcap.c pcap-common.c inet.c fad-getad.c gencode.c optimize.c nametoaddr.c \
etherent.c savefile.c bpf_filter.c bpf_image.c bpf_dump.c \
scanner.l sf-pcap.c sf-pcap-ng.c version.c
OpenPOWER on IntegriCloud