]> The Tcpdump Group git mirrors - libpcap/commit
Clean up {DAG, Septel, Myricom SNF}-only builds.
authorGuy Harris <[email protected]>
Fri, 1 Jul 2016 04:29:14 +0000 (21:29 -0700)
committerGuy Harris <[email protected]>
Fri, 1 Jul 2016 04:29:31 +0000 (21:29 -0700)
commit56889e2bb6d732af2fd881bc24e45a2c1a51e38b
tree0a0b9d52d40222be4eb71d82828cea02e8047931
parent6d0826f3abc912db6bc2916e725291cb16d08b90
Clean up {DAG, Septel, Myricom SNF}-only builds.

In the core code, treat them similarly to other builds.  In the
configure script, ensure that no other pcap-XXX.c file is built, so we
have only the entries for the capture mechanism in question in the
tables for pcap_findalldevs() and pcap_create(), so that those routines
are the only ones called.  If XXX_ONLY is defined in pcap-XXX.c, define
a stub pcap_platform_finddevs() that finds no regular interfaces and a
stub pcap_create_interface() that fails with a "we only support XXX"
error message.
configure
configure.in
pcap-dag.c
pcap-septel.c
pcap-snf.c
pcap.c