Home | History | Annotate | only in /external/libpcap
Up to higher level directory
NameDateSize
aclocal.m422-Oct-202030.9K
Android.bp22-Oct-20202.3K
arcnet.h22-Oct-20202.4K
atmuni31.h22-Oct-20203.9K
bpf_dump.c22-Oct-20201.9K
bpf_filter.c22-Oct-202012K
bpf_image.c22-Oct-20207.4K
CHANGES22-Oct-202037.3K
chmod_bpf22-Oct-2020757
ChmodBPF/22-Oct-2020
CleanSpec.mk22-Oct-20202.2K
cmake/22-Oct-2020
cmake_uninstall.cmake.in22-Oct-20201K
cmakeconfig.h.in22-Oct-202010.7K
CMakeLists.txt22-Oct-202078.6K
config.guess22-Oct-202043.2K
config.h22-Oct-202010.7K
config.h.in22-Oct-20209.9K
config.sub22-Oct-202034.9K
configure22-Oct-2020321.1K
configure.ac22-Oct-202059.2K
CONTRIBUTING.md22-Oct-20201.4K
CREDITS22-Oct-202011.5K
diag-control.h22-Oct-20208.3K
dlpisubs.c22-Oct-20209.4K
dlpisubs.h22-Oct-2020702
doc/22-Oct-2020
etherent.c22-Oct-20203.4K
ethertype.h22-Oct-20203.5K
extract.h22-Oct-20209.2K
fad-getad.c22-Oct-20208.6K
fad-gifc.c22-Oct-202012.8K
fad-glifc.c22-Oct-20209.4K
fmtutils.c22-Oct-20203.9K
fmtutils.h22-Oct-20202.1K
ftmacros.h22-Oct-20204.6K
gencode.c22-Oct-2020239.1K
gencode.h22-Oct-202011.8K
grammar.c22-Oct-2020115.3K
grammar.h22-Oct-20206.3K
grammar.y22-Oct-202022.8K
ieee80211.h22-Oct-20205.3K
install-sh22-Oct-20205.4K
INSTALL.md22-Oct-202015.5K
lbl/22-Oct-2020
libpcap.pc.in22-Oct-2020484
LICENSE22-Oct-2020868
llc.h22-Oct-20202.6K
Makefile-devel-adds22-Oct-2020614
Makefile.in22-Oct-202023.1K
METADATA22-Oct-2020387
missing/22-Oct-2020
mkdep22-Oct-20202.4K
MODULE_LICENSE_BSD22-Oct-20200
msdos/22-Oct-2020
nametoaddr.c22-Oct-202018.3K
nametoaddr.h22-Oct-20202.1K
nlpid.h22-Oct-20201.7K
nomkdep22-Oct-2020135
NOTICE22-Oct-2020873
optimize.c22-Oct-202058.4K
optimize.h22-Oct-20201.3K
org.tcpdump.chmod_bpf.plist22-Oct-2020441
OWNERS22-Oct-202046
pcap/22-Oct-2020
pcap-bpf.c22-Oct-202082.8K
pcap-bpf.h22-Oct-20202.2K
pcap-bt-linux.c22-Oct-202011.4K
pcap-bt-linux.h22-Oct-20201.8K
pcap-bt-monitor-linux.c22-Oct-20207.8K
pcap-bt-monitor-linux.h22-Oct-20201.6K
pcap-common.c22-Oct-202045.7K
pcap-common.h22-Oct-20202.3K
pcap-config.122-Oct-20202.3K
pcap-config.in22-Oct-20201.8K
pcap-dag.c22-Oct-202036.7K
pcap-dag.h22-Oct-2020457
pcap-dbus.c22-Oct-202010K
pcap-dbus.h22-Oct-2020112
pcap-dll.rc22-Oct-20201K
pcap-dlpi.c22-Oct-202047.5K
pcap-dos.c22-Oct-202035.9K
pcap-dos.h22-Oct-20206.7K
pcap-enet.c22-Oct-20204.7K
pcap-filter.manmisc22-Oct-202033.2K
pcap-filter.manmisc.in22-Oct-202033.2K
pcap-int.h22-Oct-202015.9K
pcap-libdlpi.c22-Oct-202012.1K
pcap-linktype.manmisc22-Oct-20202.3K
pcap-linktype.manmisc.in22-Oct-20202.3K
pcap-linux.c22-Oct-2020196.9K
pcap-namedb.h22-Oct-20202K
pcap-netfilter-linux-android.c22-Oct-2020858
pcap-netfilter-linux-android.h22-Oct-2020784
pcap-netfilter-linux.c22-Oct-202020.4K
pcap-netfilter-linux.h22-Oct-20201.7K
pcap-netmap.c22-Oct-20207.8K
pcap-netmap.h22-Oct-2020126
pcap-new.c22-Oct-202012.5K
pcap-nit.c22-Oct-202010.2K
pcap-npf.c22-Oct-202051.7K
pcap-null.c22-Oct-20201.9K
pcap-pf.c22-Oct-202018.5K
pcap-rdmasniff.c22-Oct-202011K
pcap-rdmasniff.h22-Oct-2020140
pcap-rpcap-int.h22-Oct-20203.4K
pcap-rpcap.c22-Oct-202099.2K
pcap-rpcap.h22-Oct-20202.2K
pcap-savefile.manfile22-Oct-20205.1K
pcap-savefile.manfile.in22-Oct-20205.1K
pcap-septel.c22-Oct-20209.2K
pcap-septel.h22-Oct-2020512
pcap-sita.c22-Oct-202036.3K
pcap-sita.h22-Oct-2020224
pcap-sita.html22-Oct-202037.4K
pcap-snf.c22-Oct-202014.7K
pcap-snf.h22-Oct-2020110
pcap-snit.c22-Oct-202012.7K
pcap-snoop.c22-Oct-202013.3K
pcap-tc.c22-Oct-202034.4K
pcap-tc.h22-Oct-20201.9K
pcap-tstamp.manmisc22-Oct-20208K
pcap-tstamp.manmisc.in22-Oct-20208K
pcap-types.h22-Oct-20201.9K
pcap-usb-linux.c22-Oct-202030.7K
pcap-usb-linux.h22-Oct-20201.8K
pcap.3pcap22-Oct-202028.5K
pcap.3pcap.in22-Oct-202028.5K
pcap.c22-Oct-2020100.7K
pcap.h22-Oct-20202.2K
pcap_activate.3pcap22-Oct-20203.8K
pcap_breakloop.3pcap22-Oct-20204K
pcap_can_set_rfmon.3pcap22-Oct-20202.6K
pcap_close.3pcap22-Oct-20201.5K
pcap_compile.3pcap22-Oct-20202.9K
pcap_compile.3pcap.in22-Oct-20202.9K
pcap_create.3pcap22-Oct-20202.2K
pcap_datalink.3pcap22-Oct-20202.4K
pcap_datalink.3pcap.in22-Oct-20202.4K
pcap_datalink_name_to_val.3pcap22-Oct-20201.8K
pcap_datalink_val_to_name.3pcap22-Oct-20202K
pcap_dump.3pcap22-Oct-20201.8K
pcap_dump_close.3pcap22-Oct-20201.5K
pcap_dump_file.3pcap22-Oct-20201.5K
pcap_dump_flush.3pcap22-Oct-20201.7K
pcap_dump_ftell.3pcap22-Oct-20202.1K
pcap_dump_open.3pcap22-Oct-20203.2K
pcap_dump_open.3pcap.in22-Oct-20203.2K
pcap_file.3pcap22-Oct-20202.1K
pcap_fileno.3pcap22-Oct-20202.1K
pcap_findalldevs.3pcap22-Oct-20205.9K
pcap_freecode.3pcap22-Oct-20201.7K
pcap_get_required_select_timeout.3pcap22-Oct-20202.8K
pcap_get_selectable_fd.3pcap22-Oct-20204.7K
pcap_get_tstamp_precision.3pcap22-Oct-20201.6K
pcap_get_tstamp_precision.3pcap.in22-Oct-20201.6K
pcap_geterr.3pcap22-Oct-20201.8K
pcap_inject.3pcap22-Oct-20203.3K
pcap_is_swapped.3pcap22-Oct-20201.9K
pcap_lib_version.3pcap22-Oct-20201.6K
pcap_list_datalinks.3pcap22-Oct-20202.5K
pcap_list_datalinks.3pcap.in22-Oct-20202.5K
pcap_list_tstamp_types.3pcap22-Oct-20202.5K
pcap_list_tstamp_types.3pcap.in22-Oct-20202.5K
pcap_lookupdev.3pcap22-Oct-20202.5K
pcap_lookupnet.3pcap22-Oct-20201.9K
pcap_loop.3pcap22-Oct-20206.5K
pcap_major_version.3pcap22-Oct-20202K
pcap_next_ex.3pcap22-Oct-20204.9K
pcap_offline_filter.3pcap22-Oct-20202K
pcap_open_dead.3pcap22-Oct-20202.7K
pcap_open_dead.3pcap.in22-Oct-20202.7K
pcap_open_live.3pcap22-Oct-20202.7K
pcap_open_offline.3pcap22-Oct-20203.5K
pcap_open_offline.3pcap.in22-Oct-20203.5K
pcap_set_buffer_size.3pcap22-Oct-20201.8K
pcap_set_datalink.3pcap22-Oct-20201.8K
pcap_set_immediate_mode.3pcap22-Oct-20201.9K
pcap_set_promisc.3pcap22-Oct-20201.8K
pcap_set_protocol_linux.3pcap22-Oct-20202.8K
pcap_set_rfmon.3pcap22-Oct-20201.8K
pcap_set_snaplen.3pcap22-Oct-20201.7K
pcap_set_timeout.3pcap22-Oct-20202.2K
pcap_set_tstamp_precision.3pcap22-Oct-20202.2K
pcap_set_tstamp_precision.3pcap.in22-Oct-20202.2K
pcap_set_tstamp_type.3pcap22-Oct-20202.4K
pcap_set_tstamp_type.3pcap.in22-Oct-20202.4K
pcap_setdirection.3pcap22-Oct-20202.3K
pcap_setfilter.3pcap22-Oct-20201.8K
pcap_setnonblock.3pcap22-Oct-20202.8K
pcap_snapshot.3pcap22-Oct-20201.9K
pcap_stats.3pcap22-Oct-20203.3K
pcap_statustostr.3pcap22-Oct-20201.6K
pcap_strerror.3pcap22-Oct-20201.5K
pcap_tstamp_type_name_to_val.3pcap22-Oct-20201.8K
pcap_tstamp_type_val_to_name.3pcap22-Oct-20201.9K
portability.h22-Oct-20205.1K
ppp.h22-Oct-20202.6K
README.md22-Oct-20203.7K
rpcap-protocol.c22-Oct-20206.7K
rpcap-protocol.h22-Oct-202020K
rpcapd/22-Oct-2020
savefile.c22-Oct-202012.8K
scanner.c22-Oct-2020210.7K
scanner.h22-Oct-20209.4K
scanner.l22-Oct-202014.6K
sf-pcap.c22-Oct-202027.8K
sf-pcap.h22-Oct-20201.7K
sf-pcapng.c22-Oct-202038.2K
sf-pcapng.h22-Oct-20201.4K
sockutils.c22-Oct-202048.8K
sockutils.h22-Oct-20207.6K
sunatmpos.h22-Oct-20202.1K
testprogs/22-Oct-2020
tests/22-Oct-2020
TODO22-Oct-20201.5K
varattrs.h22-Oct-20202.4K
VERSION22-Oct-20206
Win32/22-Oct-2020

README.md

      1 To report a security issue please send an e-mail to security (a] tcpdump.org.
      2 
      3 To report bugs and other problems, contribute patches, request a
      4 feature, provide generic feedback etc please see the file
      5 [CONTRIBUTING](CONTRIBUTING.md) in the libpcap source tree root.
      6 
      7 The directory doc/ has README files about specific operating systems and
      8 options.
      9 
     10 LIBPCAP 1.x.y
     11 Now maintained by "The Tcpdump Group"
     12 https://www.tcpdump.org
     13 
     14 Anonymous Git is available via:
     15         https://github.com/the-tcpdump-group/libpcap.git
     16 
     17 formerly from 	Lawrence Berkeley National Laboratory
     18 		Network Research Group <libpcap (a] ee.lbl.gov>
     19 		ftp://ftp.ee.lbl.gov/old/libpcap-0.4a7.tar.Z
     20 
     21 This directory contains source code for libpcap, a system-independent
     22 interface for user-level packet capture.  libpcap provides a portable
     23 framework for low-level network monitoring.  Applications include
     24 network statistics collection, security monitoring, network debugging,
     25 etc.  Since almost every system vendor provides a different interface
     26 for packet capture, and since we've developed several tools that
     27 require this functionality, we've created this system-independent API
     28 to ease in porting and to alleviate the need for several
     29 system-dependent packet capture modules in each application.
     30 
     31 For some platforms there are README.{system} files that discuss issues
     32 with the OS's interface for packet capture on those platforms, such as
     33 how to enable support for that interface in the OS, if it's not built in
     34 by default.
     35 
     36 The libpcap interface supports a filtering mechanism based on the
     37 architecture in the BSD packet filter.  BPF is described in the 1993
     38 Winter Usenix paper ``The BSD Packet Filter: A New Architecture for
     39 User-level Packet Capture''.  A compressed PostScript version can be
     40 found at
     41 
     42 	ftp://ftp.ee.lbl.gov/papers/bpf-usenix93.ps.Z
     43 
     44 or
     45 
     46 	https://www.tcpdump.org/papers/bpf-usenix93.ps.Z
     47 
     48 and a gzipped version can be found at
     49 
     50 	https://www.tcpdump.org/papers/bpf-usenix93.ps.gz
     51 
     52 A PDF version can be found at
     53 
     54 	https://www.tcpdump.org/papers/bpf-usenix93.pdf
     55 
     56 Although most packet capture interfaces support in-kernel filtering,
     57 libpcap utilizes in-kernel filtering only for the BPF interface.
     58 On systems that don't have BPF, all packets are read into user-space
     59 and the BPF filters are evaluated in the libpcap library, incurring
     60 added overhead (especially, for selective filters).  Ideally, libpcap
     61 would translate BPF filters into a filter program that is compatible
     62 with the underlying kernel subsystem, but this is not yet implemented.
     63 
     64 BPF is standard in 4.4BSD, BSD/OS, NetBSD, FreeBSD, OpenBSD, DragonFly
     65 BSD, and macOS; an older, modified and undocumented version is standard
     66 in AIX.  {DEC OSF/1, Digital UNIX, Tru64 UNIX} uses the packetfilter
     67 interface but has been extended to accept BPF filters (which libpcap
     68 utilizes).  Also, you can add BPF filter support to Ultrix using the
     69 kernel source and/or object patches available in:
     70 
     71 	https://www.tcpdump.org/other/bpfext42.tar.Z
     72 
     73 Linux has a number of BPF based systems, and libpcap does not support
     74 any of the eBPF mechanisms as yet, although it supports many of the
     75 memory mapped receive mechanisms.
     76 See the [README.linux](doc/README.linux.md) file for more information.
     77 
     78 Note to Linux distributions and *BSD systems that include libpcap:
     79 
     80 There's now a rule to make a shared library, which should work on Linux
     81 and *BSD, among other platforms.
     82 
     83 It sets the soname of the library to "libpcap.so.1"; this is what it
     84 should be, *NOT* libpcap.so.1.x or libpcap.so.1.x.y or something such as
     85 that.
     86 
     87 We've been maintaining binary compatibility between libpcap releases for
     88 quite a while; there's no reason to tie a binary linked with libpcap to
     89 a particular release of libpcap.
     90 
     91 Current versions can be found at https://www.tcpdump.org.
     92 
     93  - The TCPdump group
     94