freebsd-dev/contrib/libpcap
2023-05-05 10:56:10 -03:00
..
ChmodBPF
cmake libpcap: Update to 1.10.3 2023-03-31 16:02:22 -03:00
doc libpcap: Update to 1.10.3 2023-03-31 16:02:22 -03:00
lbl libpcap: Update to 1.10.3 2023-03-31 16:02:22 -03:00
missing libpcap: Update to 1.10.3 2023-03-31 16:02:22 -03:00
msdos libpcap: Update to 1.10.4 2023-05-05 10:56:10 -03:00
pcap libpcap: Update to 1.10.4 2023-05-05 10:56:10 -03:00
rpcapd libpcap: Update to 1.10.4 2023-05-05 10:56:10 -03:00
testprogs libpcap: Update to 1.10.4 2023-05-05 10:56:10 -03:00
tests libpcap: Update to 1.10.3 2023-03-31 16:02:22 -03:00
aclocal.m4 libpcap: Update to 1.10.4 2023-05-05 10:56:10 -03:00
arcnet.h
atmuni31.h libpcap: Update to 1.10.3 2023-03-31 16:02:22 -03:00
bpf_dump.c
bpf_filter.c libpcap: Update to 1.10.3 2023-03-31 16:02:22 -03:00
bpf_image.c libpcap: Update to 1.10.3 2023-03-31 16:02:22 -03:00
CHANGES libpcap: Update to 1.10.4 2023-05-05 10:56:10 -03:00
charconv.c libpcap: Update to 1.10.3 2023-03-31 16:02:22 -03:00
charconv.h libpcap: Update to 1.10.3 2023-03-31 16:02:22 -03:00
chmod_bpf
cmake_uninstall.cmake.in
cmakeconfig.h.in libpcap: Update to 1.10.3 2023-03-31 16:02:22 -03:00
CMakeLists.txt libpcap: Update to 1.10.3 2023-03-31 16:02:22 -03:00
config.guess libpcap: Update to 1.10.4 2023-05-05 10:56:10 -03:00
config.h.in libpcap: Update to 1.10.3 2023-03-31 16:02:22 -03:00
config.sub libpcap: Update to 1.10.4 2023-05-05 10:56:10 -03:00
configure libpcap: Update to 1.10.4 2023-05-05 10:56:10 -03:00
configure.ac libpcap: Update to 1.10.4 2023-05-05 10:56:10 -03:00
CONTRIBUTING.md libpcap: Update to 1.10.3 2023-03-31 16:02:22 -03:00
CREDITS libpcap: Update to 1.10.3 2023-03-31 16:02:22 -03:00
diag-control.h libpcap: Update to 1.10.3 2023-03-31 16:02:22 -03:00
dlpisubs.c libpcap: Update to 1.10.3 2023-03-31 16:02:22 -03:00
dlpisubs.h
etherent.c libpcap: Update to 1.10.3 2023-03-31 16:02:22 -03:00
ethertype.h libpcap: Update to 1.10.3 2023-03-31 16:02:22 -03:00
extract.h libpcap: Update to 1.10.3 2023-03-31 16:02:22 -03:00
fad-getad.c libpcap: Update to 1.10.3 2023-03-31 16:02:22 -03:00
fad-gifc.c libpcap: Update to 1.10.3 2023-03-31 16:02:22 -03:00
fad-glifc.c libpcap: Update to 1.10.3 2023-03-31 16:02:22 -03:00
fmtutils.c libpcap: Update to 1.10.3 2023-03-31 16:02:22 -03:00
fmtutils.h libpcap: Update to 1.10.3 2023-03-31 16:02:22 -03:00
ftmacros.h libpcap: Update to 1.10.3 2023-03-31 16:02:22 -03:00
gencode.c libpcap: Update to 1.10.4 2023-05-05 10:56:10 -03:00
gencode.h libpcap: Update to 1.10.3 2023-03-31 16:02:22 -03:00
grammar.y.in libpcap: Update to 1.10.3 2023-03-31 16:02:22 -03:00
ieee80211.h libpcap: Update to 1.10.3 2023-03-31 16:02:22 -03:00
install-sh
INSTALL.md libpcap: Update to 1.10.3 2023-03-31 16:02:22 -03:00
libpcap.pc.in libpcap: Update to 1.10.3 2023-03-31 16:02:22 -03:00
LICENSE
llc.h
Makefile-devel-adds libpcap: Update to 1.10.3 2023-03-31 16:02:22 -03:00
Makefile.in libpcap: Update to 1.10.4 2023-05-05 10:56:10 -03:00
mkdep libpcap: Update to 1.10.4 2023-05-05 10:56:10 -03:00
nametoaddr.c libpcap: Update to 1.10.4 2023-05-05 10:56:10 -03:00
nametoaddr.h
nlpid.h
nomkdep libpcap: Update to 1.10.3 2023-03-31 16:02:22 -03:00
optimize.c libpcap: Update to 1.10.4 2023-05-05 10:56:10 -03:00
optimize.h
org.tcpdump.chmod_bpf.plist libpcap: Update to 1.10.3 2023-03-31 16:02:22 -03:00
pcap_activate.3pcap libpcap: Update to 1.10.3 2023-03-31 16:02:22 -03:00
pcap_breakloop.3pcap libpcap: Update to 1.10.3 2023-03-31 16:02:22 -03:00
pcap_can_set_rfmon.3pcap libpcap: Update to 1.10.3 2023-03-31 16:02:22 -03:00
pcap_close.3pcap libpcap: Update to 1.10.3 2023-03-31 16:02:22 -03:00
pcap_compile.3pcap.in libpcap: Update to 1.10.3 2023-03-31 16:02:22 -03:00
pcap_create.3pcap libpcap: Update to 1.10.3 2023-03-31 16:02:22 -03:00
pcap_datalink_name_to_val.3pcap libpcap: Update to 1.10.3 2023-03-31 16:02:22 -03:00
pcap_datalink_val_to_name.3pcap libpcap: Update to 1.10.3 2023-03-31 16:02:22 -03:00
pcap_datalink.3pcap.in libpcap: Update to 1.10.3 2023-03-31 16:02:22 -03:00
pcap_dump_close.3pcap libpcap: Update to 1.10.3 2023-03-31 16:02:22 -03:00
pcap_dump_file.3pcap libpcap: Update to 1.10.3 2023-03-31 16:02:22 -03:00
pcap_dump_flush.3pcap libpcap: Update to 1.10.3 2023-03-31 16:02:22 -03:00
pcap_dump_ftell.3pcap libpcap: Update to 1.10.3 2023-03-31 16:02:22 -03:00
pcap_dump_open.3pcap.in libpcap: Update to 1.10.3 2023-03-31 16:02:22 -03:00
pcap_dump.3pcap libpcap: Update to 1.10.3 2023-03-31 16:02:22 -03:00
pcap_file.3pcap libpcap: Update to 1.10.3 2023-03-31 16:02:22 -03:00
pcap_fileno.3pcap libpcap: Update to 1.10.3 2023-03-31 16:02:22 -03:00
pcap_findalldevs.3pcap libpcap: Update to 1.10.3 2023-03-31 16:02:22 -03:00
pcap_freecode.3pcap libpcap: Update to 1.10.3 2023-03-31 16:02:22 -03:00
pcap_get_required_select_timeout.3pcap libpcap: Update to 1.10.3 2023-03-31 16:02:22 -03:00
pcap_get_selectable_fd.3pcap libpcap: Update to 1.10.3 2023-03-31 16:02:22 -03:00
pcap_get_tstamp_precision.3pcap.in libpcap: Update to 1.10.3 2023-03-31 16:02:22 -03:00
pcap_geterr.3pcap libpcap: Update to 1.10.3 2023-03-31 16:02:22 -03:00
pcap_init.3pcap libpcap: Update to 1.10.3 2023-03-31 16:02:22 -03:00
pcap_inject.3pcap libpcap: Update to 1.10.3 2023-03-31 16:02:22 -03:00
pcap_is_swapped.3pcap libpcap: Update to 1.10.3 2023-03-31 16:02:22 -03:00
pcap_lib_version.3pcap libpcap: Update to 1.10.3 2023-03-31 16:02:22 -03:00
pcap_list_datalinks.3pcap.in libpcap: Update to 1.10.3 2023-03-31 16:02:22 -03:00
pcap_list_tstamp_types.3pcap.in libpcap: Update to 1.10.3 2023-03-31 16:02:22 -03:00
pcap_lookupdev.3pcap libpcap: Update to 1.10.3 2023-03-31 16:02:22 -03:00
pcap_lookupnet.3pcap libpcap: Update to 1.10.3 2023-03-31 16:02:22 -03:00
pcap_loop.3pcap libpcap: Update to 1.10.3 2023-03-31 16:02:22 -03:00
pcap_major_version.3pcap libpcap: Update to 1.10.3 2023-03-31 16:02:22 -03:00
pcap_next_ex.3pcap libpcap: Update to 1.10.3 2023-03-31 16:02:22 -03:00
pcap_offline_filter.3pcap libpcap: Update to 1.10.3 2023-03-31 16:02:22 -03:00
pcap_open_dead.3pcap.in libpcap: Update to 1.10.3 2023-03-31 16:02:22 -03:00
pcap_open_live.3pcap libpcap: Update to 1.10.3 2023-03-31 16:02:22 -03:00
pcap_open_offline.3pcap.in libpcap: Update to 1.10.3 2023-03-31 16:02:22 -03:00
pcap_set_buffer_size.3pcap libpcap: Update to 1.10.3 2023-03-31 16:02:22 -03:00
pcap_set_datalink.3pcap libpcap: Update to 1.10.3 2023-03-31 16:02:22 -03:00
pcap_set_immediate_mode.3pcap.in libpcap: Update to 1.10.3 2023-03-31 16:02:22 -03:00
pcap_set_promisc.3pcap libpcap: Update to 1.10.3 2023-03-31 16:02:22 -03:00
pcap_set_protocol_linux.3pcap libpcap: Update to 1.10.3 2023-03-31 16:02:22 -03:00
pcap_set_rfmon.3pcap libpcap: Update to 1.10.3 2023-03-31 16:02:22 -03:00
pcap_set_snaplen.3pcap libpcap: Update to 1.10.3 2023-03-31 16:02:22 -03:00
pcap_set_timeout.3pcap libpcap: Update to 1.10.3 2023-03-31 16:02:22 -03:00
pcap_set_tstamp_precision.3pcap.in libpcap: Update to 1.10.3 2023-03-31 16:02:22 -03:00
pcap_set_tstamp_type.3pcap.in libpcap: Update to 1.10.3 2023-03-31 16:02:22 -03:00
pcap_setdirection.3pcap libpcap: Update to 1.10.3 2023-03-31 16:02:22 -03:00
pcap_setfilter.3pcap libpcap: Update to 1.10.3 2023-03-31 16:02:22 -03:00
pcap_setnonblock.3pcap libpcap: Update to 1.10.3 2023-03-31 16:02:22 -03:00
pcap_snapshot.3pcap libpcap: Update to 1.10.3 2023-03-31 16:02:22 -03:00
pcap_stats.3pcap libpcap: Update to 1.10.3 2023-03-31 16:02:22 -03:00
pcap_statustostr.3pcap libpcap: Update to 1.10.3 2023-03-31 16:02:22 -03:00
pcap_strerror.3pcap libpcap: Update to 1.10.3 2023-03-31 16:02:22 -03:00
pcap_tstamp_type_name_to_val.3pcap libpcap: Update to 1.10.3 2023-03-31 16:02:22 -03:00
pcap_tstamp_type_val_to_name.3pcap libpcap: Update to 1.10.3 2023-03-31 16:02:22 -03:00
pcap-airpcap.c libpcap: Update to 1.10.3 2023-03-31 16:02:22 -03:00
pcap-airpcap.h libpcap: Update to 1.10.3 2023-03-31 16:02:22 -03:00
pcap-bpf.c libpcap: Update to 1.10.3 2023-03-31 16:02:22 -03:00
pcap-bpf.h
pcap-bt-linux.c libpcap: Update to 1.10.4 2023-05-05 10:56:10 -03:00
pcap-bt-linux.h
pcap-bt-monitor-linux.c libpcap: Update to 1.10.3 2023-03-31 16:02:22 -03:00
pcap-bt-monitor-linux.h
pcap-common.c libpcap: Update to 1.10.4 2023-05-05 10:56:10 -03:00
pcap-common.h libpcap: Update to 1.10.3 2023-03-31 16:02:22 -03:00
pcap-config.1 libpcap: Update to 1.10.3 2023-03-31 16:02:22 -03:00
pcap-config.in libpcap: Update to 1.10.3 2023-03-31 16:02:22 -03:00
pcap-dag.c libpcap: Update to 1.10.3 2023-03-31 16:02:22 -03:00
pcap-dag.h
pcap-dbus.c libpcap: Update to 1.10.3 2023-03-31 16:02:22 -03:00
pcap-dbus.h
pcap-dll.rc libpcap: Update to 1.10.3 2023-03-31 16:02:22 -03:00
pcap-dlpi.c libpcap: Update to 1.10.3 2023-03-31 16:02:22 -03:00
pcap-dos.c libpcap: Update to 1.10.3 2023-03-31 16:02:22 -03:00
pcap-dos.h
pcap-dpdk.c libpcap: Update to 1.10.3 2023-03-31 16:02:22 -03:00
pcap-dpdk.h libpcap: Update to 1.10.3 2023-03-31 16:02:22 -03:00
pcap-enet.c libpcap: Update to 1.10.3 2023-03-31 16:02:22 -03:00
pcap-filter.manmisc.in libpcap: Update to 1.10.3 2023-03-31 16:02:22 -03:00
pcap-haiku.cpp libpcap: Update to 1.10.3 2023-03-31 16:02:22 -03:00
pcap-int.h libpcap: Update to 1.10.3 2023-03-31 16:02:22 -03:00
pcap-libdlpi.c libpcap: Update to 1.10.4 2023-05-05 10:56:10 -03:00
pcap-linktype.manmisc.in libpcap: Update to 1.10.3 2023-03-31 16:02:22 -03:00
pcap-linux.c libpcap: Update to 1.10.4 2023-05-05 10:56:10 -03:00
pcap-namedb.h
pcap-netfilter-linux.c libpcap: Update to 1.10.4 2023-05-05 10:56:10 -03:00
pcap-netfilter-linux.h
pcap-netmap.c libpcap: Update to 1.10.3 2023-03-31 16:02:22 -03:00
pcap-netmap.h
pcap-new.c libpcap: Update to 1.10.3 2023-03-31 16:02:22 -03:00
pcap-nit.c libpcap: Update to 1.10.3 2023-03-31 16:02:22 -03:00
pcap-npf.c libpcap: Update to 1.10.4 2023-05-05 10:56:10 -03:00
pcap-null.c
pcap-pf.c libpcap: Update to 1.10.3 2023-03-31 16:02:22 -03:00
pcap-rdmasniff.c libpcap: Update to 1.10.3 2023-03-31 16:02:22 -03:00
pcap-rdmasniff.h
pcap-rpcap-int.h
pcap-rpcap.c libpcap: Update to 1.10.3 2023-03-31 16:02:22 -03:00
pcap-rpcap.h
pcap-savefile.manfile.in libpcap: Update to 1.10.3 2023-03-31 16:02:22 -03:00
pcap-septel.c libpcap: Update to 1.10.3 2023-03-31 16:02:22 -03:00
pcap-septel.h
pcap-sita.c libpcap: Update to 1.10.4 2023-05-05 10:56:10 -03:00
pcap-sita.h
pcap-sita.html libpcap: Update to 1.10.4 2023-05-05 10:56:10 -03:00
pcap-snf.c libpcap: Update to 1.10.4 2023-05-05 10:56:10 -03:00
pcap-snf.h
pcap-snit.c libpcap: Update to 1.10.3 2023-03-31 16:02:22 -03:00
pcap-snoop.c libpcap: Update to 1.10.3 2023-03-31 16:02:22 -03:00
pcap-tc.c libpcap: Update to 1.10.3 2023-03-31 16:02:22 -03:00
pcap-tc.h
pcap-tstamp.manmisc.in libpcap: Update to 1.10.3 2023-03-31 16:02:22 -03:00
pcap-types.h libpcap: Update to 1.10.3 2023-03-31 16:02:22 -03:00
pcap-usb-linux-common.c libpcap: Update to 1.10.3 2023-03-31 16:02:22 -03:00
pcap-usb-linux-common.h libpcap: Update to 1.10.3 2023-03-31 16:02:22 -03:00
pcap-usb-linux.c libpcap: Update to 1.10.4 2023-05-05 10:56:10 -03:00
pcap-usb-linux.h
pcap-util.c libpcap: Update to 1.10.3 2023-03-31 16:02:22 -03:00
pcap-util.h libpcap: Update to 1.10.3 2023-03-31 16:02:22 -03:00
pcap.3pcap.in libpcap: Update to 1.10.3 2023-03-31 16:02:22 -03:00
pcap.c libpcap: Update to 1.10.3 2023-03-31 16:02:22 -03:00
pcap.h
pflog.h libpcap: Update to 1.10.3 2023-03-31 16:02:22 -03:00
portability.h libpcap: Update to 1.10.3 2023-03-31 16:02:22 -03:00
ppp.h
README.md libpcap: Update to 1.10.4 2023-05-05 10:56:10 -03:00
rpcap-protocol.c libpcap: Update to 1.10.3 2023-03-31 16:02:22 -03:00
rpcap-protocol.h libpcap: Update to 1.10.3 2023-03-31 16:02:22 -03:00
savefile.c libpcap: Update to 1.10.3 2023-03-31 16:02:22 -03:00
scanner.l libpcap: Update to 1.10.3 2023-03-31 16:02:22 -03:00
sf-pcap.c libpcap: Update to 1.10.3 2023-03-31 16:02:22 -03:00
sf-pcap.h
sf-pcapng.c libpcap: Update to 1.10.3 2023-03-31 16:02:22 -03:00
sf-pcapng.h
sockutils.c libpcap: Update to 1.10.4 2023-05-05 10:56:10 -03:00
sockutils.h libpcap: Update to 1.10.3 2023-03-31 16:02:22 -03:00
sslutils.c libpcap: Update to 1.10.3 2023-03-31 16:02:22 -03:00
sslutils.h libpcap: Update to 1.10.3 2023-03-31 16:02:22 -03:00
sunatmpos.h
TODO libpcap: Update to 1.10.3 2023-03-31 16:02:22 -03:00
varattrs.h
VERSION libpcap: Update to 1.10.4 2023-05-05 10:56:10 -03:00

LIBPCAP 1.x.y by The Tcpdump Group

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 guidelines for contributing.

The documentation directory 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.

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

Support for particular platforms and BPF

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'' (compressed PostScript, gzipped PostScript, 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, macOS, and Solaris 11; 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).

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 Linux-specific README 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.