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 2c961ff224 Get rid of the PCAP_ENCAP_ values - if an application uses them, that
application won't build with any other version of libpcap, which means
that a lot of applications won't use them.  In addition,
"pcap_linktype()" needs to return DLT_ values, so that platforms that
build libpcap as a shared library won't break binary compatibility if
they update to this version of libpcap.

Instead, we map from DLT_ values to LINKTYPE_ values when writing
savefiles, and map from LINKTYPE_ values to DLT_ values when reading
savefiles, so that savefiles don't have platform-dependent DLT_ values
in the header as the link type, they have platform-independent LINKTYPE_
values.

This means we don't need to make DLT_ATM_RFC1483, DLT_RAW, etc. have
platform-independent values starting at 100 - only the values in the
savefile header need to be like that.
2000-10-12 03:53:57 +00:00
SUNOS4 Initial revision 1999-10-07 23:46:40 +00:00
bpf/net Get rid of the PCAP_ENCAP_ values - if an application uses them, that 2000-10-12 03:53:57 +00:00
lbl Remove from "lbl/os-solaris2.h" declarations of functions we don't use; 2000-10-11 04:02:52 +00:00
linux-include/netinet add __attribute__ ((packed)). From cgd@netbsd.org (Chris G. Demetriou) 2000-06-10 14:26:40 +00:00
.cvsignore ignore dynamically generated files. 1999-10-19 15:20:43 +00:00
CHANGES Added support for an "any" device based on a patch from Sebastian Krahmer. 2000-09-20 15:10:28 +00:00
CREDITS Fixed my mail address. The GMX address might go away. For open source 2000-09-18 18:47:46 +00:00
FILES Include the license file as one of the files in the tarball. 2000-10-10 04:51:18 +00:00
INSTALL bring a little bit more uptodate 2000-07-30 06:01:22 +00:00
LICENSE added license file 2000-10-09 22:38:56 +00:00
Makefile.in When making directories into which to install files in "make install", 2000-09-19 14:52:41 +00:00
README Merge in changes from the libpcap 0.5 branch: 2000-07-13 06:24:14 +00:00
README.aix *** empty log message *** 2000-06-11 16:46:21 +00:00
TODO Added a TODO file with some stuff that needs to be done IMHO (putting 2000-09-18 19:33:07 +00:00
VERSION bumped version to 0.5 2000-01-25 02:25:04 +00:00
acconfig.h add config.h, remove gnuc.h. remove __dead 2000-07-11 00:37:04 +00:00
aclocal.m4 The current "config.guess" may give different Alpha processors different 2000-09-19 03:56:26 +00:00
bpf_dump.c reomve interface.h, it's not used in libpcap 2000-06-26 04:17:05 +00:00
bpf_image.c add config.h, remove gnuc.h. remove __dead 2000-07-11 00:37:04 +00:00
config.guess update to current version from :pserver:anoncvs@subversions.gnu.org:/home/cvs 2000-03-31 20:27:23 +00:00
config.h.in regenerated from configure.in 2000-07-30 10:50:22 +00:00
config.sub update to current version from :pserver:anoncvs@subversions.gnu.org:/home/cvs 2000-03-31 20:27:23 +00:00
configure The current "config.guess" may give different Alpha processors different 2000-09-19 03:56:26 +00:00
configure.in Add a check for lame lex and fail with an error message recommending flex. 2000-08-16 20:28:52 +00:00
etherent.c add config.h, remove gnuc.h. remove __dead 2000-07-11 00:37:04 +00:00
ethertype.h Add definitions of Ethernet types from 2000-09-23 07:26:27 +00:00
gencode.c Get rid of the PCAP_ENCAP_ values - if an application uses them, that 2000-10-12 03:53:57 +00:00
gencode.h Older versions of Flex (e.g., 2.5.2, which at least one user had) dump 2000-07-13 06:51:56 +00:00
grammar.y Add definitions of Ethernet types from 2000-09-23 07:26:27 +00:00
inet.c Added support for an "any" device based on a patch from Sebastian Krahmer. 2000-09-20 15:10:28 +00:00
install-sh Initial revision 1999-10-07 23:46:40 +00:00
mkdep Initial revision 1999-10-07 23:46:40 +00:00
nametoaddr.c Eliminate a warning with some compilers. 2000-10-10 04:53:54 +00:00
optimize.c repair argument mismatch to malloc(). 2000-09-06 07:40:03 +00:00
pcap-bpf.c Get rid of the PCAP_ENCAP_ values - if an application uses them, that 2000-10-12 03:53:57 +00:00
pcap-dlpi.c Get rid of the PCAP_ENCAP_ values - if an application uses them, that 2000-10-12 03:53:57 +00:00
pcap-enet.c Get rid of the PCAP_ENCAP_ values - if an application uses them, that 2000-10-12 03:53:57 +00:00
pcap-int.h Not all systems running on Alpha processors add 3 bytes of padding to 2000-09-19 03:28:10 +00:00
pcap-linux.c Get rid of the PCAP_ENCAP_ values - if an application uses them, that 2000-10-12 03:53:57 +00:00
pcap-namedb.h Pick up, from the FreeBSD libpcap, changes to surround all declarations with 2000-07-29 07:36:41 +00:00
pcap-nit.c Get rid of the PCAP_ENCAP_ values - if an application uses them, that 2000-10-12 03:53:57 +00:00
pcap-nit.h Initial revision 1999-10-07 23:46:40 +00:00
pcap-null.c add config.h, remove gnuc.h. remove __dead 2000-07-11 00:37:04 +00:00
pcap-pf.c Get rid of the PCAP_ENCAP_ values - if an application uses them, that 2000-10-12 03:53:57 +00:00
pcap-pf.h Initial revision 1999-10-07 23:46:40 +00:00
pcap-snit.c Get rid of the PCAP_ENCAP_ values - if an application uses them, that 2000-10-12 03:53:57 +00:00
pcap-snoop.c Get rid of the PCAP_ENCAP_ values - if an application uses them, that 2000-10-12 03:53:57 +00:00
pcap.3 Introduce a set of PCAP_ENCAP_ codes to specify packet encapsulations. 2000-09-17 04:04:36 +00:00
pcap.c Stopped pcap_close from closing stdin. I don't see why somebody would 2000-08-13 10:33:14 +00:00
pcap.h Get rid of the PCAP_ENCAP_ values - if an application uses them, that 2000-10-12 03:53:57 +00:00
ppp.h IPv6 packet filtering code. 1999-10-19 15:18:28 +00:00
savefile.c Get rid of the PCAP_ENCAP_ values - if an application uses them, that 2000-10-12 03:53:57 +00:00
scanner.l Token Ring support, from various patches. Also add "tr" as an alias for 2000-07-25 05:50:08 +00:00

README

@(#) $Header: /tcpdump/master/libpcap/README,v 1.22 2000-07-13 06:24:14 guy Exp $ (LBL)

LIBPCAP 0.5
Now maintained by "The Tcpdump Group"
See 		www.tcpdump.org

Please send inquiries/comments/reports to 	tcpdump-workers@tcpdump.org

Anonymous CVS is available via:
	cvs -d cvs.tcpdump.org:/tcpdump/master login
	(password "anoncvs")
	cvs -d cvs.tcpdump.org:/tcpdump/master checkout libpcap

Version 0.5 of LIBPCAP can be retrived with the CVS tag "libpcap_0_5":
	cvs -d cvs.tcpdump.org:/tcpdump/master checkout -r libpcap_0_5 libpcap

Please send patches against the master copy to patches@tcpdump.org.

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

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/OS, NetBSD, FreeBSD, and OpenBSD.  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, etc. 
should be sent to the address "tcpdump-workers@tcpdump.org".

Source code contributions, etc. should be sent to the email address 
"patches@tcpdump.org".

Current versions can be found at www.tcpdump.org

 - The TCPdump team