dect
/
libpcap
Archived
13
0
Fork 0
PCAP Library with DECT support
This repository has been archived on 2022-02-17. You can view files and clone it, but cannot push or open issues or pull requests.
Go to file
guy 2b31a188b5 Get rid of the AUTHORS and BUGS section; only the main pcap(3PCAP) man
page should have that (no other pages for particular functions have it).
2008-05-30 01:32:55 +00:00
SUNOS4 Initial revision 1999-10-07 23:46:40 +00:00
bpf/net Make some arguments const pointers if that makes sense. 2008-01-02 04:22:16 +00:00
lbl pcap-0.4 1999-10-07 23:46:40 +00:00
linux-include/netinet Initial revision 1999-10-07 23:46:40 +00:00
msdos From Gisle Vanem: 2008-04-22 17:20:42 +00:00
packaging From Joerg Mayer: add a new man page for the filter syntax, copied from 2008-01-06 21:14:55 +00:00
pcap Add pcap_free_datalinks() - on Windows, something allocated in Vegas^Wa 2008-05-26 19:58:59 +00:00
.cvsignore Add a wrapper around Lex/Flex; that lets us handle Lex's lack of support 2007-12-30 00:33:20 +00:00
CHANGES pcap-0.4 1999-10-07 23:46:40 +00:00
CREDITS From Gisle Vanem: 2008-04-22 17:16:49 +00:00
INSTALL pcap-0.4 1999-10-07 23:46:40 +00:00
INSTALL.txt FILES isn't used to make the tarball any more; get rid of it. 2008-05-26 21:06:27 +00:00
Makefile.in Add a script to change the permissions of /dev/bpf*, and a launchd plist 2008-05-28 02:15:05 +00:00
README pcap-0.4 1999-10-07 23:46:40 +00:00
README.sita The SITA code in pcap-linux.c shares very little with the Linux code; 2008-01-06 20:24:12 +00:00
VERSION Initial revision 1999-10-07 23:46:40 +00:00
aclocal.m4 Support for libdlpi, and for enabling "passive mode" on Solaris systems 2008-03-13 18:16:37 +00:00
atmuni31.h Use VCI_ as a prefix for all the VCI values, rather than just prefixing 2007-10-22 19:30:14 +00:00
bpf_dump.c Make some arguments const pointers if that makes sense. 2008-01-02 04:22:16 +00:00
bpf_image.c Make some arguments const pointers if that makes sense. 2008-01-02 04:22:16 +00:00
chmod_bpf Add a script to change the permissions of /dev/bpf*, and a launchd plist 2008-05-28 02:15:05 +00:00
config.guess Initial revision 1999-10-07 23:46:40 +00:00
config.h.in From Paolo Abeni and me: split pcap_open_live() into a "get a pcap_t 2008-04-04 19:39:05 +00:00
config.sub Initial revision 1999-10-07 23:46:40 +00:00
configure Clean up the output of the configure script a bit. 2008-04-05 05:21:11 +00:00
configure.in Clean up the output of the configure script a bit. 2008-04-05 04:56:59 +00:00
dlpisubs.c From Paolo Abeni and me: split pcap_open_live() into a "get a pcap_t 2008-04-04 19:39:05 +00:00
dlpisubs.h From Paolo Abeni and me: split pcap_open_live() into a "get a pcap_t 2008-04-04 19:39:05 +00:00
etherent.c pcap-0.4 1999-10-07 23:46:40 +00:00
ethertype.h pcap-0.4 1999-10-07 23:46:40 +00:00
fad-glifc.c From Sagun Shakya: fix typoes in comments. 2008-01-30 09:36:09 +00:00
fad-sita.c The SITA code in pcap-linux.c shares very little with the Linux code; 2008-01-06 20:24:12 +00:00
gencode.c The Prism header is in theory variable-length, but in practice it's 2007-12-29 23:15:43 +00:00
gencode.h Support OpenBSD's "addr1", "addr2", "addr3", and "addr4" link-layer 2007-11-18 02:04:55 +00:00
grammar.y Support OpenBSD's "addr1", "addr2", "addr3", and "addr4" link-layer 2007-11-18 02:04:55 +00:00
ieee80211.h Support OpenBSD's "addr1", "addr2", "addr3", and "addr4" link-layer 2007-11-18 02:04:55 +00:00
inet.c Expand a comment with more information on getting interface names. 2008-04-20 18:19:24 +00:00
install-sh Initial revision 1999-10-07 23:46:40 +00:00
mkdep In some Solaris distributions, gcc is in /usr/sfw/bin. Look there for 2007-10-16 11:36:35 +00:00
nametoaddr.c From Arien Vijn: support various notions for MAC addresses. 2008-02-06 10:21:47 +00:00
optimize.c Make some arguments const pointers if that makes sense. 2008-01-02 04:22:16 +00:00
org.tcpdump.chmod_bpf.plist Add a script to change the permissions of /dev/bpf*, and a launchd plist 2008-05-28 02:15:05 +00:00
pcap-bpf.c Turn close_op into cleanup_op; the routine that handles it can also be 2008-04-14 20:41:51 +00:00
pcap-bt-linux.c Fix typoes (sigh, using both "p" and "handle" for the pcap_t pointer in 2008-04-14 21:06:29 +00:00
pcap-bt-linux.h From Paolo Abeni and me: split pcap_open_live() into a "get a pcap_t 2008-04-04 19:39:05 +00:00
pcap-dag.c Turn close_op into cleanup_op; the routine that handles it can also be 2008-04-14 20:41:51 +00:00
pcap-dag.h From Paolo Abeni and me: split pcap_open_live() into a "get a pcap_t 2008-04-04 19:39:05 +00:00
pcap-dlpi.c Turn close_op into cleanup_op; the routine that handles it can also be 2008-04-14 20:41:51 +00:00
pcap-dos.c From Gisle Vanem: 2008-04-22 17:16:49 +00:00
pcap-enet.c Initial revision 1999-10-07 23:46:40 +00:00
pcap-filter.4 From Joerg Mayer: add a new man page for the filter syntax, copied from 2008-01-06 21:14:55 +00:00
pcap-int.h Turn close_op into cleanup_op; the routine that handles it can also be 2008-04-14 20:41:51 +00:00
pcap-libdlpi.c Turn close_op into cleanup_op; the routine that handles it can also be 2008-04-14 20:41:51 +00:00
pcap-linktype.4 Split the pcap(3) man page into a bunch of individual man pages for 2008-04-05 20:21:09 +00:00
pcap-linux.c Fix a typo (sigh, using both "p" and "handle" for the pcap_t pointer in 2008-04-14 21:05:03 +00:00
pcap-namedb.h pcap-0.4 1999-10-07 23:46:40 +00:00
pcap-nit.c Turn close_op into cleanup_op; the routine that handles it can also be 2008-04-14 20:41:51 +00:00
pcap-null.c From Paolo Abeni and me: split pcap_open_live() into a "get a pcap_t 2008-04-04 19:39:05 +00:00
pcap-pf.c Turn close_op into cleanup_op; the routine that handles it can also be 2008-04-14 20:41:51 +00:00
pcap-septel.c Turn close_op into cleanup_op; the routine that handles it can also be 2008-04-14 20:41:51 +00:00
pcap-septel.h From Paolo Abeni and me: split pcap_open_live() into a "get a pcap_t 2008-04-04 19:39:05 +00:00
pcap-sita.c Turn close_op into cleanup_op; the routine that handles it can also be 2008-04-14 20:41:51 +00:00
pcap-sita.h The SITA code in pcap-linux.c shares very little with the Linux code; 2008-01-06 20:24:12 +00:00
pcap-sita.html SITA ACN support, from Fulko Hew. 2007-10-20 01:18:49 +00:00
pcap-snit.c Turn close_op into cleanup_op; the routine that handles it can also be 2008-04-14 20:41:51 +00:00
pcap-snoop.c Turn close_op into cleanup_op; the routine that handles it can also be 2008-04-14 20:41:51 +00:00
pcap-usb-linux.c Fix typoes (sigh, using both "p" and "handle" for the pcap_t pointer in 2008-04-14 21:06:29 +00:00
pcap-usb-linux.h From Paolo Abeni and me: split pcap_open_live() into a "get a pcap_t 2008-04-04 19:39:05 +00:00
pcap-win32.c pcap_create() should accept UNICODE device names as well as ASCII ones 2008-05-21 22:11:26 +00:00
pcap.3 Get rid of an extra blank line. 2008-02-02 21:19:52 +00:00
pcap.3pcap Add commands use to configure capture privileges to the SEE ALSO list. 2008-04-10 01:56:38 +00:00
pcap.c Add pcap_free_datalinks() - on Windows, something allocated in Vegas^Wa 2008-05-26 19:58:59 +00:00
pcap.h pcap-0.4 1999-10-07 23:46:40 +00:00
pcap_activate.3pcap Add some PCAP_WARNING return values for "success, but you might want to 2008-04-09 21:26:37 +00:00
pcap_breakloop.3pcap Document the new API's, move a bunch of information about libpcap 2008-04-06 03:21:55 +00:00
pcap_can_set_rfmon.3pcap Document the new API's, move a bunch of information about libpcap 2008-04-06 03:21:55 +00:00
pcap_close.3pcap Document the new API's, move a bunch of information about libpcap 2008-04-06 03:21:55 +00:00
pcap_compile.3pcap Document the new API's, move a bunch of information about libpcap 2008-04-06 03:21:55 +00:00
pcap_create.3pcap Document the new API's, move a bunch of information about libpcap 2008-04-06 03:21:55 +00:00
pcap_datalink.3pcap Document the new API's, move a bunch of information about libpcap 2008-04-06 03:21:55 +00:00
pcap_datalink_name_to_val.3pcap Document the new API's, move a bunch of information about libpcap 2008-04-06 03:21:55 +00:00
pcap_datalink_val_to_name.3pcap Get rid of the AUTHORS and BUGS section; only the main pcap(3PCAP) man 2008-05-30 01:32:55 +00:00
pcap_dump.3pcap Document the new API's, move a bunch of information about libpcap 2008-04-06 03:21:55 +00:00
pcap_dump_close.3pcap Document the new API's, move a bunch of information about libpcap 2008-04-06 03:21:55 +00:00
pcap_dump_file.3pcap Document the new API's, move a bunch of information about libpcap 2008-04-06 03:21:55 +00:00
pcap_dump_flush.3pcap Document the new API's, move a bunch of information about libpcap 2008-04-06 03:21:55 +00:00
pcap_dump_ftell.3pcap Document the new API's, move a bunch of information about libpcap 2008-04-06 03:21:55 +00:00
pcap_dump_open.3pcap Document the new API's, move a bunch of information about libpcap 2008-04-06 03:21:55 +00:00
pcap_file.3pcap Document the new API's, move a bunch of information about libpcap 2008-04-06 03:21:55 +00:00
pcap_fileno.3pcap Document the new API's, move a bunch of information about libpcap 2008-04-06 03:21:55 +00:00
pcap_findalldevs.3pcap Document the new API's, move a bunch of information about libpcap 2008-04-06 03:21:55 +00:00
pcap_free_datalinks.3pcap Add pcap_free_datalinks() - on Windows, something allocated in Vegas^Wa 2008-05-26 19:58:59 +00:00
pcap_freealldevs.3pcap Document the new API's, move a bunch of information about libpcap 2008-04-06 03:21:55 +00:00
pcap_freecode.3pcap Document the new API's, move a bunch of information about libpcap 2008-04-06 03:21:55 +00:00
pcap_get_selectable_fd.3pcap Document the new API's, move a bunch of information about libpcap 2008-04-06 03:21:55 +00:00
pcap_geterr.3pcap Document the new API's, move a bunch of information about libpcap 2008-04-06 03:21:55 +00:00
pcap_inject.3pcap Document the new API's, move a bunch of information about libpcap 2008-04-06 03:21:55 +00:00
pcap_is_swapped.3pcap Document the new API's, move a bunch of information about libpcap 2008-04-06 03:21:55 +00:00
pcap_lib_version.3pcap Document the new API's, move a bunch of information about libpcap 2008-04-06 03:21:55 +00:00
pcap_list_datalinks.3pcap Add pcap_free_datalinks() - on Windows, something allocated in Vegas^Wa 2008-05-26 19:58:59 +00:00
pcap_lookupdev.3pcap Document the new API's, move a bunch of information about libpcap 2008-04-06 03:21:55 +00:00
pcap_lookupnet.3pcap Document the new API's, move a bunch of information about libpcap 2008-04-06 03:21:55 +00:00
pcap_loop.3pcap Document the new API's, move a bunch of information about libpcap 2008-04-06 03:21:55 +00:00
pcap_major_version.3pcap Document the new API's, move a bunch of information about libpcap 2008-04-06 03:21:55 +00:00
pcap_next_ex.3pcap Document the new API's, move a bunch of information about libpcap 2008-04-06 03:21:55 +00:00
pcap_offline_filter.3pcap Pick up pcap_offline_filter() from WinPcap. 2008-05-13 15:20:44 +00:00
pcap_open_dead.3pcap Document the new API's, move a bunch of information about libpcap 2008-04-06 03:21:55 +00:00
pcap_open_live.3pcap Document the new API's, move a bunch of information about libpcap 2008-04-06 03:21:55 +00:00
pcap_open_offline.3pcap Document the new API's, move a bunch of information about libpcap 2008-04-06 03:21:55 +00:00
pcap_set_buffer_size.3pcap Document the new API's, move a bunch of information about libpcap 2008-04-06 03:21:55 +00:00
pcap_set_datalink.3pcap Document the new API's, move a bunch of information about libpcap 2008-04-06 03:21:55 +00:00
pcap_set_promisc.3pcap Document the new API's, move a bunch of information about libpcap 2008-04-06 03:21:55 +00:00
pcap_set_rfmon.3pcap Document the new API's, move a bunch of information about libpcap 2008-04-06 03:21:55 +00:00
pcap_set_snaplen.3pcap Document the new API's, move a bunch of information about libpcap 2008-04-06 03:21:55 +00:00
pcap_set_timeout.3pcap Document the new API's, move a bunch of information about libpcap 2008-04-06 03:21:55 +00:00
pcap_setdirection.3pcap Document the new API's, move a bunch of information about libpcap 2008-04-06 03:21:55 +00:00
pcap_setfilter.3pcap Pick up pcap_offline_filter() from WinPcap. 2008-05-13 15:20:44 +00:00
pcap_setnonblock.3pcap Document the new API's, move a bunch of information about libpcap 2008-04-06 03:21:55 +00:00
pcap_snapshot.3pcap Document the new API's, move a bunch of information about libpcap 2008-04-06 03:21:55 +00:00
pcap_stats.3pcap Document the new API's, move a bunch of information about libpcap 2008-04-06 03:21:55 +00:00
pcap_statustostr.3pcap Rename pcap_errtostr() to pcap_statustostr(), and have it handle 2008-04-09 21:41:53 +00:00
pcap_strerror.3pcap Document the new API's, move a bunch of information about libpcap 2008-04-06 03:21:55 +00:00
ppp.h pcap-0.4 1999-10-07 23:46:40 +00:00
runlex.sh Add --nounput if Flex supports the --noFUNCTION options, as at least 2007-12-31 03:39:06 +00:00
savefile.c Turn close_op into cleanup_op; the routine that handles it can also be 2008-04-14 20:41:51 +00:00
scanner.l From Arien Vijn: support various notions for MAC addresses. 2008-02-06 10:21:47 +00:00

README

@(#) $Header: /tcpdump/master/libpcap/README,v 1.18.1.1 1999-10-07 23:46:40 mcr Exp $ (LBL)

LIBPCAP 0.4
Lawrence Berkeley National Laboratory
Network Research Group
libpcap@ee.lbl.gov
ftp://ftp.ee.lbl.gov/libpcap.tar.Z

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.

Note well: this interface is new and is likely to change.

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 is in:

	ftp://ftp.ee.lbl.gov/papers/bpf-usenix93.ps.Z.

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/386, NetBSD, and FreeBSD.  DEC OSF/1
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:

	ftp://gatekeeper.dec.com/pub/DEC/net/bpfext42.tar.Z.

Problems, bugs, questions, desirable enhancements, source code
contributions, etc., should be sent to the email address
"libpcap@ee.lbl.gov".

 - Steve McCanne
   Craig Leres
   Van Jacobson