xref: /aosp_15_r20/external/libpcap/INSTALL.md (revision 8b26181f966a6af5cf6981a6f474313de533bb28)
1*8b26181fSAndroid Build Coastguard Worker# libpcap installation notes
2*8b26181fSAndroid Build Coastguard WorkerLibpcap can be built either with the configure script and `make`, or
3*8b26181fSAndroid Build Coastguard Workerwith CMake and any build system supported by CMake.
4*8b26181fSAndroid Build Coastguard Worker
5*8b26181fSAndroid Build Coastguard WorkerTo build libpcap with the configure script and `make`:
6*8b26181fSAndroid Build Coastguard Worker
7*8b26181fSAndroid Build Coastguard Worker* Run `./configure` (a shell script).  The configure script will
8*8b26181fSAndroid Build Coastguard Workerdetermine your system attributes and generate an appropriate `Makefile`
9*8b26181fSAndroid Build Coastguard Workerfrom `Makefile.in`.  The configure script has a number of options to
10*8b26181fSAndroid Build Coastguard Workercontrol the configuration of libpcap; `./configure --help`` will show
11*8b26181fSAndroid Build Coastguard Workerthem.
12*8b26181fSAndroid Build Coastguard Worker
13*8b26181fSAndroid Build Coastguard Worker* Next, run `make`.  If everything goes well, you can
14*8b26181fSAndroid Build Coastguard Worker`su` to root and run `make install`.  However, you need not install
15*8b26181fSAndroid Build Coastguard Workerlibpcap if you just want to build tcpdump; just make sure the tcpdump
16*8b26181fSAndroid Build Coastguard Workerand libpcap directory trees have the same parent directory.
17*8b26181fSAndroid Build Coastguard Worker
18*8b26181fSAndroid Build Coastguard WorkerTo build libpcap with CMake and the build system of your choice, from
19*8b26181fSAndroid Build Coastguard Workerthe command line:
20*8b26181fSAndroid Build Coastguard Worker
21*8b26181fSAndroid Build Coastguard Worker* Create a build directory into which CMake will put the build files it
22*8b26181fSAndroid Build Coastguard Workergenerates; CMake does not work as well with builds done in the source
23*8b26181fSAndroid Build Coastguard Workercode directory as does the configure script.  The build directory may be
24*8b26181fSAndroid Build Coastguard Workercreated as a subdirectory of the source directory or as a directory
25*8b26181fSAndroid Build Coastguard Workeroutside the source directory.
26*8b26181fSAndroid Build Coastguard Worker
27*8b26181fSAndroid Build Coastguard Worker* Change to the build directory and run CMake with the path from the
28*8b26181fSAndroid Build Coastguard Workerbuild directory to the source directory as an argument.  The `-G` flag
29*8b26181fSAndroid Build Coastguard Workercan be used to select the CMake "generator" appropriate for the build
30*8b26181fSAndroid Build Coastguard Workersystem you're using; various `-D` flags can be used to control the
31*8b26181fSAndroid Build Coastguard Workerconfiguration of libpcap.
32*8b26181fSAndroid Build Coastguard Worker
33*8b26181fSAndroid Build Coastguard Worker* Run the build tool.  If everything goes well, you can `su` to root and
34*8b26181fSAndroid Build Coastguard Workerrun the build tool with the `install` target.  Building tcpdump from a
35*8b26181fSAndroid Build Coastguard Workerlibpcap in a build directory is not supported.
36*8b26181fSAndroid Build Coastguard Worker
37*8b26181fSAndroid Build Coastguard WorkerAn `uninstall` target is supported with both `./configure` and CMake.
38*8b26181fSAndroid Build Coastguard Worker
39*8b26181fSAndroid Build Coastguard Worker***DO NOT*** run the build as root; there is no need to do so, running
40*8b26181fSAndroid Build Coastguard Workeranything as root that doesn't need to be run as root increases the risk
41*8b26181fSAndroid Build Coastguard Workerof damaging your system, and running the build as root will put files in
42*8b26181fSAndroid Build Coastguard Workerthe build directory that are owned by root and that probably cannot be
43*8b26181fSAndroid Build Coastguard Workeroverwritten, removed, or replaced except by root, which could cause
44*8b26181fSAndroid Build Coastguard Workerpermission errors in subsequent builds.
45*8b26181fSAndroid Build Coastguard Worker
46*8b26181fSAndroid Build Coastguard WorkerIf configure says:
47*8b26181fSAndroid Build Coastguard Worker
48*8b26181fSAndroid Build Coastguard Worker    configure: warning: cannot determine packet capture interface
49*8b26181fSAndroid Build Coastguard Worker    configure: warning: (see INSTALL.md file for more info)
50*8b26181fSAndroid Build Coastguard Worker
51*8b26181fSAndroid Build Coastguard Workeror CMake says:
52*8b26181fSAndroid Build Coastguard Worker
53*8b26181fSAndroid Build Coastguard Worker    cannot determine packet capture interface
54*8b26181fSAndroid Build Coastguard Worker
55*8b26181fSAndroid Build Coastguard Worker    (see the INSTALL.md file for more info)
56*8b26181fSAndroid Build Coastguard Worker
57*8b26181fSAndroid Build Coastguard Workerthen your system either does not support packet capture or your system
58*8b26181fSAndroid Build Coastguard Workerdoes support packet capture but libpcap does not support that
59*8b26181fSAndroid Build Coastguard Workerparticular type. (If you have HP-UX, see below.) If your system uses a
60*8b26181fSAndroid Build Coastguard Workerpacket capture not supported by libpcap, please send us patches; don't
61*8b26181fSAndroid Build Coastguard Workerforget to include an autoconf fragment suitable for use in
62*8b26181fSAndroid Build Coastguard Worker`configure.ac`.
63*8b26181fSAndroid Build Coastguard Worker
64*8b26181fSAndroid Build Coastguard WorkerIt is possible to override the default packet capture type with the
65*8b26181fSAndroid Build Coastguard Worker`--with-pcap`` option to `./configure` or the `-DPCAP_TYPE` option to
66*8b26181fSAndroid Build Coastguard WorkerCMake, although the circumstances where this works are limited.  One
67*8b26181fSAndroid Build Coastguard Workerpossible reason to do that would be to force a supported packet capture
68*8b26181fSAndroid Build Coastguard Workertype in the case where the configure or CMake scripts fails to detect
69*8b26181fSAndroid Build Coastguard Workerit.
70*8b26181fSAndroid Build Coastguard Worker
71*8b26181fSAndroid Build Coastguard WorkerYou will need a C99 compiler to build libpcap. The configure script
72*8b26181fSAndroid Build Coastguard Workerwill abort if your compiler is not C99 compliant. If this happens, use
73*8b26181fSAndroid Build Coastguard Workerthe generally available GNU C compiler (GCC) or Clang.
74*8b26181fSAndroid Build Coastguard Worker
75*8b26181fSAndroid Build Coastguard WorkerYou will need either Flex 2.5.31 or later, or a version of Lex
76*8b26181fSAndroid Build Coastguard Workercompatible with it (if any exist), to build libpcap.  The configure
77*8b26181fSAndroid Build Coastguard Workerscript will abort if there isn't any such program; CMake fails if Flex
78*8b26181fSAndroid Build Coastguard Workeror Lex cannot be found, but doesn't ensure that it's compatible with
79*8b26181fSAndroid Build Coastguard WorkerFlex 2.5.31 or later.  If you have an older version of Flex, or don't
80*8b26181fSAndroid Build Coastguard Workerhave a compatible version of Lex, the current version of Flex is
81*8b26181fSAndroid Build Coastguard Workeravailable [here](https://github.com/westes/flex).
82*8b26181fSAndroid Build Coastguard Worker
83*8b26181fSAndroid Build Coastguard WorkerYou will need either Bison, Berkeley YACC, or a version of YACC
84*8b26181fSAndroid Build Coastguard Workercompatible with them (if any exist), to build libpcap.  The configure
85*8b26181fSAndroid Build Coastguard Workerscript will abort if there isn't any such program; CMake fails if Bison
86*8b26181fSAndroid Build Coastguard Workeror some form of YACC cannot be found, but doesn't ensure that it's
87*8b26181fSAndroid Build Coastguard Workercompatible with Bison or Berkeley YACC.  If you don't have any such
88*8b26181fSAndroid Build Coastguard Workerprogram, the current version of Bison can be found
89*8b26181fSAndroid Build Coastguard Worker[here](https://ftp.gnu.org/gnu/bison/) and the current version of
90*8b26181fSAndroid Build Coastguard WorkerBerkeley YACC can be found [here](https://invisible-island.net/byacc/).
91*8b26181fSAndroid Build Coastguard Worker
92*8b26181fSAndroid Build Coastguard WorkerSometimes the stock C compiler does not interact well with Flex and
93*8b26181fSAndroid Build Coastguard WorkerBison. The list of problems includes undefined references for alloca(3).
94*8b26181fSAndroid Build Coastguard WorkerYou can get around this by installing GCC.
95*8b26181fSAndroid Build Coastguard Worker
96*8b26181fSAndroid Build Coastguard Worker## Linux specifics
97*8b26181fSAndroid Build Coastguard WorkerOn Linux, libpcap will not work if the kernel does not have the packet
98*8b26181fSAndroid Build Coastguard Workersocket option enabled; see [this file](doc/README.linux) for more
99*8b26181fSAndroid Build Coastguard Workerinformation.
100*8b26181fSAndroid Build Coastguard Worker
101*8b26181fSAndroid Build Coastguard Worker## Solaris specifics
102*8b26181fSAndroid Build Coastguard WorkerIf you use the SPARCompiler, you must be careful to not use the
103*8b26181fSAndroid Build Coastguard Worker`/usr/ucb/cc` interface. If you do, you will get bogus warnings and
104*8b26181fSAndroid Build Coastguard Workerperhaps errors. Either make sure your path has `/opt/SUNWspro/bin`
105*8b26181fSAndroid Build Coastguard Workerbefore `/usr/ucb` or else:
106*8b26181fSAndroid Build Coastguard Worker
107*8b26181fSAndroid Build Coastguard Worker    setenv CC /opt/SUNWspro/bin/cc
108*8b26181fSAndroid Build Coastguard Worker
109*8b26181fSAndroid Build Coastguard Workerbefore running configure. (You might have to do a `make distclean`
110*8b26181fSAndroid Build Coastguard Workerif you already ran `configure` once).
111*8b26181fSAndroid Build Coastguard Worker
112*8b26181fSAndroid Build Coastguard WorkerSee [this file](doc/README.solaris.md) for more up to date
113*8b26181fSAndroid Build Coastguard WorkerSolaris-related information.
114*8b26181fSAndroid Build Coastguard Worker
115*8b26181fSAndroid Build Coastguard Worker## HP-UX specifics
116*8b26181fSAndroid Build Coastguard WorkerIf you use HP-UX, you must have at least version 9 and either the
117*8b26181fSAndroid Build Coastguard Workerversion of `cc` that supports C99 (`cc -AC99`) or else use the GNU C
118*8b26181fSAndroid Build Coastguard Workercompiler. You must also buy the optional streams package. If you don't
119*8b26181fSAndroid Build Coastguard Workerhave:
120*8b26181fSAndroid Build Coastguard Worker
121*8b26181fSAndroid Build Coastguard Worker    /usr/include/sys/dlpi.h
122*8b26181fSAndroid Build Coastguard Worker    /usr/include/sys/dlpi_ext.h
123*8b26181fSAndroid Build Coastguard Worker
124*8b26181fSAndroid Build Coastguard Workerthen you don't have the streams package. In addition, we believe you
125*8b26181fSAndroid Build Coastguard Workerneed to install the "9.X LAN and DLPI drivers cumulative" patch
126*8b26181fSAndroid Build Coastguard Worker(PHNE_6855) to make the version 9 DLPI work with libpcap.
127*8b26181fSAndroid Build Coastguard Worker
128*8b26181fSAndroid Build Coastguard WorkerThe DLPI streams package is standard starting with HP-UX 10.
129*8b26181fSAndroid Build Coastguard Worker
130*8b26181fSAndroid Build Coastguard WorkerThe HP implementation of DLPI is a little bit eccentric. Unlike
131*8b26181fSAndroid Build Coastguard WorkerSolaris, you must attach `/dev/dlpi` instead of the specific `/dev/*`
132*8b26181fSAndroid Build Coastguard Workernetwork pseudo device entry in order to capture packets. The PPA is
133*8b26181fSAndroid Build Coastguard Workerbased on the ifnet "index" number. Under HP-UX 9, it is necessary to
134*8b26181fSAndroid Build Coastguard Workerread `/dev/kmem` and the kernel symbol file (`/hp-ux`). Under HP-UX 10,
135*8b26181fSAndroid Build Coastguard WorkerDLPI can provide information for determining the PPA. It does not seem
136*8b26181fSAndroid Build Coastguard Workerto be possible to trace the loopback interface. Unlike other DLPI
137*8b26181fSAndroid Build Coastguard Workerimplementations, PHYS implies MULTI and SAP and you get an error if you
138*8b26181fSAndroid Build Coastguard Workertry to enable more than one promiscuous mode at a time.
139*8b26181fSAndroid Build Coastguard Worker
140*8b26181fSAndroid Build Coastguard WorkerIt is impossible to capture outbound packets on HP-UX 9.  To do so on
141*8b26181fSAndroid Build Coastguard WorkerHP-UX 10, you will, apparently, need a late "LAN products cumulative
142*8b26181fSAndroid Build Coastguard Workerpatch" (at one point, it was claimed that this would be PHNE_18173 for
143*8b26181fSAndroid Build Coastguard Workers700/10.20; at another point, it was claimed that the required patches
144*8b26181fSAndroid Build Coastguard Workerwere PHNE_20892, PHNE_20725 and PHCO_10947, or newer patches), and to do
145*8b26181fSAndroid Build Coastguard Workerso on HP-UX 11 you will, apparently, need the latest lancommon/DLPI
146*8b26181fSAndroid Build Coastguard Workerpatches and the latest driver patch for the interface(s) in use on HP-UX
147*8b26181fSAndroid Build Coastguard Worker11 (at one point, it was claimed that patches PHNE_19766, PHNE_19826,
148*8b26181fSAndroid Build Coastguard WorkerPHNE_20008, and PHNE_20735 did the trick).
149*8b26181fSAndroid Build Coastguard Worker
150*8b26181fSAndroid Build Coastguard WorkerFurthermore, on HP-UX 10, you will need to turn on a kernel switch by
151*8b26181fSAndroid Build Coastguard Workerdoing
152*8b26181fSAndroid Build Coastguard Worker
153*8b26181fSAndroid Build Coastguard Worker	echo 'lanc_outbound_promisc_flag/W 1' | adb -w /stand/vmunix /dev/mem
154*8b26181fSAndroid Build Coastguard Worker
155*8b26181fSAndroid Build Coastguard WorkerYou would have to arrange that this happens on reboots; the right way to
156*8b26181fSAndroid Build Coastguard Workerdo that would probably be to put it into an executable script file
157*8b26181fSAndroid Build Coastguard Worker`/sbin/init.d/outbound_promisc` and making
158*8b26181fSAndroid Build Coastguard Worker`/sbin/rc2.d/S350outbound_promisc` a symbolic link to that script.
159*8b26181fSAndroid Build Coastguard Worker
160*8b26181fSAndroid Build Coastguard WorkerFinally, testing shows that there can't be more than one simultaneous
161*8b26181fSAndroid Build Coastguard WorkerDLPI user per network interface.
162*8b26181fSAndroid Build Coastguard Worker
163*8b26181fSAndroid Build Coastguard WorkerSee [this file](doc/README.hpux) for more information specific to HP-UX.
164*8b26181fSAndroid Build Coastguard Worker
165*8b26181fSAndroid Build Coastguard Worker## AIX specifics
166*8b26181fSAndroid Build Coastguard WorkerSee [this file](doc/README.aix) for information on installing libpcap and
167*8b26181fSAndroid Build Coastguard Workerconfiguring your system to be able to support libpcap.
168*8b26181fSAndroid Build Coastguard Worker
169*8b26181fSAndroid Build Coastguard Worker## other specifics
170*8b26181fSAndroid Build Coastguard WorkerIf you are trying to do packet capture with a FORE ATM card, you may or
171*8b26181fSAndroid Build Coastguard Workermay not be able to. They usually only release their driver in object
172*8b26181fSAndroid Build Coastguard Workercode so unless their driver supports packet capture, there's not much
173*8b26181fSAndroid Build Coastguard Workerlibpcap can do.
174*8b26181fSAndroid Build Coastguard Worker
175*8b26181fSAndroid Build Coastguard WorkerIf you get an error like:
176*8b26181fSAndroid Build Coastguard Worker
177*8b26181fSAndroid Build Coastguard Worker    tcpdump: recv_ack: bind error 0x???
178*8b26181fSAndroid Build Coastguard Worker
179*8b26181fSAndroid Build Coastguard Workerwhen using DLPI, look for the DL_ERROR_ACK error return values, usually
180*8b26181fSAndroid Build Coastguard Workerin `/usr/include/sys/dlpi.h`, and find the corresponding value.
181*8b26181fSAndroid Build Coastguard Worker
182*8b26181fSAndroid Build Coastguard Worker## Description of files
183*8b26181fSAndroid Build Coastguard Worker	CHANGES		    - description of differences between releases
184*8b26181fSAndroid Build Coastguard Worker	ChmodBPF/*	    - macOS startup item to set ownership and permissions on /dev/bpf*
185*8b26181fSAndroid Build Coastguard Worker	CMakeLists.txt	    - CMake file
186*8b26181fSAndroid Build Coastguard Worker	CONTRIBUTING.md	    - guidelines for contributing
187*8b26181fSAndroid Build Coastguard Worker	CREDITS		    - people that have helped libpcap along
188*8b26181fSAndroid Build Coastguard Worker	INSTALL.md	    - this file
189*8b26181fSAndroid Build Coastguard Worker	LICENSE		    - the license under which tcpdump is distributed
190*8b26181fSAndroid Build Coastguard Worker	Makefile.in	    - compilation rules (input to the configure script)
191*8b26181fSAndroid Build Coastguard Worker	README.md	    - description of distribution
192*8b26181fSAndroid Build Coastguard Worker	doc/README.aix	    - notes on using libpcap on AIX
193*8b26181fSAndroid Build Coastguard Worker	doc/README.dag	    - notes on using libpcap to capture on Endace DAG devices
194*8b26181fSAndroid Build Coastguard Worker	doc/README.hpux	    - notes on using libpcap on HP-UX
195*8b26181fSAndroid Build Coastguard Worker	doc/README.linux    - notes on using libpcap on Linux
196*8b26181fSAndroid Build Coastguard Worker	doc/README.macos    - notes on using libpcap on macOS
197*8b26181fSAndroid Build Coastguard Worker	doc/README.septel   - notes on using libpcap to capture on Intel/Septel devices
198*8b26181fSAndroid Build Coastguard Worker	doc/README.sita	    - notes on using libpcap to capture on SITA devices
199*8b26181fSAndroid Build Coastguard Worker	doc/README.solaris.md - notes on using libpcap on Solaris
200*8b26181fSAndroid Build Coastguard Worker	doc/README.Win32.md - notes on using libpcap on Win32 systems (with Npcap)
201*8b26181fSAndroid Build Coastguard Worker	VERSION		    - version of this release
202*8b26181fSAndroid Build Coastguard Worker	aclocal.m4	    - autoconf macros
203*8b26181fSAndroid Build Coastguard Worker	arcnet.h	    - ARCNET definitions
204*8b26181fSAndroid Build Coastguard Worker	atmuni31.h	    - ATM Q.2931 definitions
205*8b26181fSAndroid Build Coastguard Worker	bpf_dump.c	    - BPF program printing routines
206*8b26181fSAndroid Build Coastguard Worker	bpf_filter.c	    - BPF filtering routines
207*8b26181fSAndroid Build Coastguard Worker	bpf_image.c	    - BPF disassembly routine
208*8b26181fSAndroid Build Coastguard Worker	config.guess	    - autoconf support
209*8b26181fSAndroid Build Coastguard Worker	config.h.in	    - autoconf input
210*8b26181fSAndroid Build Coastguard Worker	config.sub	    - autoconf support
211*8b26181fSAndroid Build Coastguard Worker	configure	    - configure script (run this first)
212*8b26181fSAndroid Build Coastguard Worker	configure.ac	    - configure script source
213*8b26181fSAndroid Build Coastguard Worker	dlpisubs.c	    - DLPI-related functions for pcap-dlpi.c and pcap-libdlpi.c
214*8b26181fSAndroid Build Coastguard Worker	dlpisubs.h	    - DLPI-related function declarations
215*8b26181fSAndroid Build Coastguard Worker	etherent.c	    - /etc/ethers support routines
216*8b26181fSAndroid Build Coastguard Worker	ethertype.h	    - Ethernet protocol types and names definitions
217*8b26181fSAndroid Build Coastguard Worker	fad-getad.c	    - pcap_findalldevs() for systems with getifaddrs()
218*8b26181fSAndroid Build Coastguard Worker	fad-gifc.c	    - pcap_findalldevs() for systems with only SIOCGIFLIST
219*8b26181fSAndroid Build Coastguard Worker	fad-glifc.c	    - pcap_findalldevs() for systems with SIOCGLIFCONF
220*8b26181fSAndroid Build Coastguard Worker	testprogs/filtertest.c      - test program for BPF compiler
221*8b26181fSAndroid Build Coastguard Worker	testprogs/findalldevstest.c - test program for pcap_findalldevs()
222*8b26181fSAndroid Build Coastguard Worker	gencode.c	    - BPF code generation routines
223*8b26181fSAndroid Build Coastguard Worker	gencode.h	    - BPF code generation definitions
224*8b26181fSAndroid Build Coastguard Worker	grammar.y	    - filter string grammar
225*8b26181fSAndroid Build Coastguard Worker	ieee80211.h	    - 802.11 definitions
226*8b26181fSAndroid Build Coastguard Worker	install-sh	    - BSD style install script
227*8b26181fSAndroid Build Coastguard Worker	lbl/os-*.h	    - OS-dependent defines and prototypes
228*8b26181fSAndroid Build Coastguard Worker	llc.h		    - 802.2 LLC SAP definitions
229*8b26181fSAndroid Build Coastguard Worker	missing/*	    - replacements for missing library functions
230*8b26181fSAndroid Build Coastguard Worker	mkdep		    - construct Makefile dependency list
231*8b26181fSAndroid Build Coastguard Worker	msdos/*		    - drivers for MS-DOS capture support
232*8b26181fSAndroid Build Coastguard Worker	nametoaddr.c	    - hostname to address routines
233*8b26181fSAndroid Build Coastguard Worker	nlpid.h		    - OSI network layer protocol identifier definitions
234*8b26181fSAndroid Build Coastguard Worker	optimize.c	    - BPF optimization routines
235*8b26181fSAndroid Build Coastguard Worker	pcap/bluetooth.h    - public definition of DLT_BLUETOOTH_HCI_H4_WITH_PHDR header
236*8b26181fSAndroid Build Coastguard Worker	pcap/bpf.h	    - BPF definitions
237*8b26181fSAndroid Build Coastguard Worker	pcap/namedb.h	    - public libpcap name database definitions
238*8b26181fSAndroid Build Coastguard Worker	pcap/pcap.h	    - public libpcap definitions
239*8b26181fSAndroid Build Coastguard Worker	pcap/sll.h	    - public definitions of DLT_LINUX_SLL and DLT_LINUX_SLL2 headers
240*8b26181fSAndroid Build Coastguard Worker	pcap/usb.h	    - public definition of DLT_USB header
241*8b26181fSAndroid Build Coastguard Worker	pcap-bpf.c	    - BSD Packet Filter support
242*8b26181fSAndroid Build Coastguard Worker	pcap-bpf.h	    - header for backwards compatibility
243*8b26181fSAndroid Build Coastguard Worker	pcap-bt-linux.c	    - Bluetooth capture support for Linux
244*8b26181fSAndroid Build Coastguard Worker	pcap-bt-linux.h	    - Bluetooth capture support for Linux
245*8b26181fSAndroid Build Coastguard Worker	pcap-dag.c	    - Endace DAG device capture support
246*8b26181fSAndroid Build Coastguard Worker	pcap-dag.h	    - Endace DAG device capture support
247*8b26181fSAndroid Build Coastguard Worker	pcap-dlpi.c	    - Data Link Provider Interface support
248*8b26181fSAndroid Build Coastguard Worker	pcap-dos.c	    - MS-DOS capture support
249*8b26181fSAndroid Build Coastguard Worker	pcap-dos.h	    - headers for MS-DOS capture support
250*8b26181fSAndroid Build Coastguard Worker	pcap-enet.c	    - enet support
251*8b26181fSAndroid Build Coastguard Worker	pcap-int.h	    - internal libpcap definitions
252*8b26181fSAndroid Build Coastguard Worker	pcap-libdlpi.c	    - Data Link Provider Interface support for systems with libdlpi
253*8b26181fSAndroid Build Coastguard Worker	pcap-linux.c	    - Linux packet socket support
254*8b26181fSAndroid Build Coastguard Worker	pcap-namedb.h	    - header for backwards compatibility
255*8b26181fSAndroid Build Coastguard Worker	pcap-nit.c	    - SunOS Network Interface Tap support
256*8b26181fSAndroid Build Coastguard Worker	pcap-npf.c	    - Npcap capture support
257*8b26181fSAndroid Build Coastguard Worker	pcap-null.c	    - dummy monitor support (allows offline use of libpcap)
258*8b26181fSAndroid Build Coastguard Worker	pcap-pf.c	    - Ultrix and Digital/Tru64 UNIX Packet Filter support
259*8b26181fSAndroid Build Coastguard Worker	pcap-septel.c       - Intel/Septel device capture support
260*8b26181fSAndroid Build Coastguard Worker	pcap-septel.h       - Intel/Septel device capture support
261*8b26181fSAndroid Build Coastguard Worker	pcap-sita.c	    - SITA device capture support
262*8b26181fSAndroid Build Coastguard Worker	pcap-sita.h	    - SITA device capture support
263*8b26181fSAndroid Build Coastguard Worker	pcap-sita.html	    - SITA device capture documentation
264*8b26181fSAndroid Build Coastguard Worker	pcap-snit.c	    - SunOS 4.x STREAMS-based Network Interface Tap support
265*8b26181fSAndroid Build Coastguard Worker	pcap-snoop.c	    - IRIX Snoop network monitoring support
266*8b26181fSAndroid Build Coastguard Worker	pcap-usb-linux.c    - USB capture support for Linux
267*8b26181fSAndroid Build Coastguard Worker	pcap-usb-linux.h    - USB capture support for Linux
268*8b26181fSAndroid Build Coastguard Worker	pcap.3pcap	    - manual entry for the library
269*8b26181fSAndroid Build Coastguard Worker	pcap.c		    - pcap utility routines
270*8b26181fSAndroid Build Coastguard Worker	pcap.h		    - header for backwards compatibility
271*8b26181fSAndroid Build Coastguard Worker	pcap_*.3pcap	    - manual entries for library functions
272*8b26181fSAndroid Build Coastguard Worker	pcap-filter.manmisc.in   - manual entry for filter syntax
273*8b26181fSAndroid Build Coastguard Worker	pcap-linktype.manmisc.in - manual entry for link-layer header types
274*8b26181fSAndroid Build Coastguard Worker	ppp.h		    - Point to Point Protocol definitions
275*8b26181fSAndroid Build Coastguard Worker	savefile.c	    - offline support
276*8b26181fSAndroid Build Coastguard Worker	scanner.l	    - filter string scanner
277*8b26181fSAndroid Build Coastguard Worker	sunatmpos.h	    - definitions for SunATM capturing
278