aosp12/external/libpcap
hcl 7be3fd486c init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
..
ChmodBPF init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
Win32/Prj init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
cmake init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
doc init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
lbl init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
missing init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
msdos init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
pcap init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
rpcapd init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
testprogs init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
tests init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
.appveyor.yml init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
.cirrus.yml init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
.gitattributes init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
.gitignore init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
.mailmap init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
.travis-coverity-scan-build.sh init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
.travis.yml init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
Android.bp init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
CHANGES init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
CMakeLists.txt init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
CONTRIBUTING.md init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
CREDITS init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
CleanSpec.mk init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
INSTALL.md init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
LICENSE init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
METADATA init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
MODULE_LICENSE_BSD init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
Makefile-devel-adds init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
Makefile.in init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
NOTICE init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
OWNERS init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
README.md init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
TODO init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
VERSION init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
aclocal.m4 init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
arcnet.h init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
atmuni31.h init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
bpf_dump.c init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
bpf_filter.c init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
bpf_image.c init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
charconv.c init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
charconv.h init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
chmod_bpf init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
cmake_uninstall.cmake.in init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
cmakeconfig.h.in init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
config.guess init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
config.h init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
config.h.in init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
config.sub init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
configure init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
configure.ac init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
diag-control.h init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
dlpisubs.c init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
dlpisubs.h init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
etherent.c init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
ethertype.h init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
extract.h init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
fad-getad.c init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
fad-gifc.c init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
fad-glifc.c init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
fmtutils.c init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
fmtutils.h init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
ftmacros.h init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
gencode.c init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
gencode.h init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
grammar.c init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
grammar.h init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
grammar.y.in init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
ieee80211.h init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
install-sh init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
libpcap.pc.in init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
llc.h init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
mkdep init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
nametoaddr.c init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
nametoaddr.h init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
nlpid.h init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
nomkdep init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
optimize.c init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
optimize.h init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
org.tcpdump.chmod_bpf.plist init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
pcap-airpcap.c init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
pcap-airpcap.h init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
pcap-bpf.c init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
pcap-bpf.h init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
pcap-bt-linux.c init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
pcap-bt-linux.h init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
pcap-bt-monitor-linux.c init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
pcap-bt-monitor-linux.h init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
pcap-common.c init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
pcap-common.h init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
pcap-config.1 init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
pcap-config.in init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
pcap-dag.c init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
pcap-dag.h init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
pcap-dbus.c init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
pcap-dbus.h init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
pcap-dll.rc init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
pcap-dlpi.c init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
pcap-dos.c init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
pcap-dos.h init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
pcap-dpdk.c init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
pcap-dpdk.h init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
pcap-enet.c init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
pcap-filter.manmisc.in init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
pcap-haiku.cpp init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
pcap-int.h init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
pcap-libdlpi.c init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
pcap-linktype.manmisc.in init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
pcap-linux.c init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
pcap-namedb.h init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
pcap-netfilter-linux-android.c init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
pcap-netfilter-linux-android.h init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
pcap-netfilter-linux.c init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
pcap-netfilter-linux.h init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
pcap-netmap.c init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
pcap-netmap.h init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
pcap-new.c init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
pcap-nit.c init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
pcap-npf.c init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
pcap-null.c init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
pcap-pf.c init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
pcap-rdmasniff.c init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
pcap-rdmasniff.h init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
pcap-rpcap-int.h init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
pcap-rpcap.c init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
pcap-rpcap.h init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
pcap-savefile.manfile.in init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
pcap-septel.c init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
pcap-septel.h init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
pcap-sita.c init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
pcap-sita.h init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
pcap-sita.html init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
pcap-snf.c init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
pcap-snf.h init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
pcap-snit.c init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
pcap-snoop.c init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
pcap-tc.c init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
pcap-tc.h init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
pcap-tstamp.manmisc.in init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
pcap-types.h init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
pcap-usb-linux.c init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
pcap-usb-linux.h init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
pcap.3pcap.in init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
pcap.c init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
pcap.h init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
pcap_activate.3pcap init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
pcap_breakloop.3pcap init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
pcap_can_set_rfmon.3pcap init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
pcap_close.3pcap init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
pcap_compile.3pcap.in init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
pcap_create.3pcap init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
pcap_datalink.3pcap.in init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
pcap_datalink_name_to_val.3pcap init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
pcap_datalink_val_to_name.3pcap init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
pcap_dump.3pcap init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
pcap_dump_close.3pcap init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
pcap_dump_file.3pcap init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
pcap_dump_flush.3pcap init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
pcap_dump_ftell.3pcap init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
pcap_dump_open.3pcap.in init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
pcap_file.3pcap init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
pcap_fileno.3pcap init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
pcap_findalldevs.3pcap init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
pcap_freecode.3pcap init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
pcap_get_required_select_timeout.3pcap init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
pcap_get_selectable_fd.3pcap init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
pcap_get_tstamp_precision.3pcap.in init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
pcap_geterr.3pcap init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
pcap_init.3pcap init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
pcap_inject.3pcap init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
pcap_is_swapped.3pcap init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
pcap_lib_version.3pcap init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
pcap_list_datalinks.3pcap.in init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
pcap_list_tstamp_types.3pcap.in init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
pcap_lookupdev.3pcap init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
pcap_lookupnet.3pcap init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
pcap_loop.3pcap init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
pcap_major_version.3pcap init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
pcap_next_ex.3pcap init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
pcap_offline_filter.3pcap init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
pcap_open_dead.3pcap.in init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
pcap_open_live.3pcap init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
pcap_open_offline.3pcap.in init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
pcap_set_buffer_size.3pcap init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
pcap_set_datalink.3pcap init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
pcap_set_immediate_mode.3pcap.in init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
pcap_set_promisc.3pcap init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
pcap_set_protocol_linux.3pcap init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
pcap_set_rfmon.3pcap init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
pcap_set_snaplen.3pcap init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
pcap_set_timeout.3pcap init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
pcap_set_tstamp_precision.3pcap.in init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
pcap_set_tstamp_type.3pcap.in init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
pcap_setdirection.3pcap init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
pcap_setfilter.3pcap init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
pcap_setnonblock.3pcap init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
pcap_snapshot.3pcap init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
pcap_stats.3pcap init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
pcap_statustostr.3pcap init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
pcap_strerror.3pcap init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
pcap_tstamp_type_name_to_val.3pcap init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
pcap_tstamp_type_val_to_name.3pcap init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
portability.h init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
post_update.sh init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
ppp.h init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
rpcap-protocol.c init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
rpcap-protocol.h init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
savefile.c init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
scanner.c init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
scanner.h init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
scanner.l init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
sf-pcap.c init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
sf-pcap.h init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
sf-pcapng.c init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
sf-pcapng.h init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
sockutils.c init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
sockutils.h init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
sslutils.c init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
sslutils.h init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
sunatmpos.h init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
varattrs.h init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00

README.md

LIBPCAP 1.x.y

Build Status

Build Status

Now maintained by "The Tcpdump Group"

https://www.tcpdump.org

formerly from Lawrence Berkeley National Laboratory Network Research Group libpcap@ee.lbl.gov ftp://ftp.ee.lbl.gov/old/libpcap-0.4a7.tar.Z

To report a security issue please send an e-mail to security@tcpdump.org.

To report bugs and other problems, contribute patches, request a feature, provide generic feedback etc please see the file CONTRIBUTING.md in the libpcap source tree root.

The directory doc/ has README files about specific operating systems and options.

Anonymous Git is available via:

https://github.com/the-tcpdump-group/libpcap.git

This directory contains source code for libpcap, a system-independent interface for user-level packet capture. libpcap provides a portable framework for low-level network monitoring. Applications include network statistics collection, security monitoring, network debugging, etc. Since almost every system vendor provides a different interface for packet capture, and since we've developed several tools that require this functionality, we've created this system-independent API to ease in porting and to alleviate the need for several system-dependent packet capture modules in each application.

For some platforms there are README.{system} files that discuss issues with the OS's interface for packet capture on those platforms, such as how to enable support for that interface in the OS, if it's not built in by default.

The libpcap interface supports a filtering mechanism based on the architecture in the BSD packet filter. BPF is described in the 1993 Winter Usenix paper ``The BSD Packet Filter: A New Architecture for User-level Packet Capture''. A compressed PostScript version can be found at

https://www.tcpdump.org/papers/bpf-usenix93.ps.Z

and a gzipped version can be found at

https://www.tcpdump.org/papers/bpf-usenix93.ps.gz

A PDF version can be found at

https://www.tcpdump.org/papers/bpf-usenix93.pdf

Although most packet capture interfaces support in-kernel filtering, libpcap utilizes in-kernel filtering only for the BPF interface. On systems that don't have BPF, all packets are read into user-space and the BPF filters are evaluated in the libpcap library, incurring added overhead (especially, for selective filters). Ideally, libpcap would translate BPF filters into a filter program that is compatible with the underlying kernel subsystem, but this is not yet implemented.

BPF is standard in 4.4BSD, BSD/OS, NetBSD, FreeBSD, OpenBSD, DragonFly BSD, and macOS; an older, modified and undocumented version is standard in AIX. {DEC OSF/1, Digital UNIX, Tru64 UNIX} uses the packetfilter interface but has been extended to accept BPF filters (which libpcap utilizes). Also, you can add BPF filter support to Ultrix using the kernel source and/or object patches available in:

https://www.tcpdump.org/other/bpfext42.tar.Z

Linux has a number of BPF based systems, and libpcap does not support any of the eBPF mechanisms as yet, although it supports many of the memory mapped receive mechanisms. See the README.linux file for more information.

Note to Linux distributions and *BSD systems that include libpcap:

There's now a rule to make a shared library, which should work on Linux and *BSD, among other platforms.

It sets the soname of the library to "libpcap.so.1"; this is what it should be, NOT libpcap.so.1.x or libpcap.so.1.x.y or something such as that.

We've been maintaining binary compatibility between libpcap releases for quite a while; there's no reason to tie a binary linked with libpcap to a particular release of libpcap.