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 4f544108b4 Handle the three types of link layers:
those that always use 802.2;

	those that never use 802.2;

	Ethernet (where 802.2 is used for 802.3 and is not used for
	Ethernet II);

correctly.  This requires having two variables for the offset of the
network layer header, one for use with protocols that would not run atop
802.2 on Ethernet and would run atop 802.2+SNAP on link layers that
always use 802.2, and one for use with protosol that would run atop
raw 802.2 (no SNAP) on Ethernet and on link layers that always use
802.2.

Fix the network layer offset for 802.11, and the link-layer offset for
RFC 1483 ATM (there's no link layer, there's just 802.2 LLC).
2002-04-11 07:38:32 +00:00
SUNOS4 Initial revision 1999-10-07 23:46:40 +00:00
bpf/net Add a DLT_ value for Fibre Channel, as per a request from Don Lee 2002-03-08 11:16:34 +00:00
lbl Declare "pfopen()" in "lbl/os-osf4.h", as Digital don't seem to have 2000-12-22 11:51:33 +00:00
packaging RPM spec file 2001-05-05 00:57:33 +00:00
.cvsignore Add "stamp-h" and "stamp-h.in" to ".cvsignore"; they're already in 2001-10-13 05:29:27 +00:00
CHANGES started 0.7 CHANGES. 2001-10-23 04:37:31 +00:00
CREDITS Add support for gigabit Ethernet interfaces on SGI machines, from David 2002-03-07 11:39:13 +00:00
FILES Reflect the renaming of "INSTALL" to "INSTALL.txt". 2001-09-09 19:36:25 +00:00
INSTALL.txt Documentation fixes from Chris Pepper <pepper@mail.reppep.com>. 2001-06-05 03:45:53 +00:00
LICENSE added license file 2000-10-09 22:38:56 +00:00
Makefile.in Patch from Lorenzo Cavallaro <sullivan@sikurezza.org> to create 2001-01-18 04:05:12 +00:00
README Documentation fixes from Chris Pepper <pepper@mail.reppep.com>. 2001-06-05 03:45:53 +00:00
README.aix Note that we now attempt to work around AIX BPF's weirdness, indicate 2001-11-17 21:29:58 +00:00
README.linux From Scott Barron <sb125499@ohiou.edu>: use the 2001-07-29 18:25:46 +00:00
README.tru64 Pick up the "README.tru64" file from Ethereal, and change it to refer to 2001-01-24 06:52:52 +00:00
TODO Documentation fixes from Chris Pepper <pepper@mail.reppep.com>. 2001-06-05 03:45:53 +00:00
VERSION Bump the version to 0.7. 2001-10-08 08:17:03 +00:00
acconfig.h Add "const" for autoconf 2.52 compatability. Longer term solution: 2001-11-12 22:18:01 +00:00
aclocal.m4 Replace "target_cpu" and "target_os" with "host_cpu" and "host_os", as 2001-12-10 08:33:41 +00:00
arcnet.h Fix up the RCS ID, and put in a line indicating the NetBSD header file 2001-04-24 02:17:52 +00:00
bpf_dump.c <pcap.h> includes <sys/types.h> and <sys/time.h>; there's no need to 2002-03-24 23:21:51 +00:00
bpf_image.c <pcap.h> includes <sys/types.h> and <sys/time.h>; there's no need to 2002-03-24 23:21:51 +00:00
config.guess newest config.guess and config.sub from ftp://sunsite.utk.edu/pub/gnu/ftp/config/ 2001-05-05 20:50:41 +00:00
config.h.in Regenerate. 2001-11-12 22:19:15 +00:00
config.sub newest config.guess and config.sub from ftp://sunsite.utk.edu/pub/gnu/ftp/config/ 2001-05-05 20:50:41 +00:00
configure Replace "target_cpu" and "target_os" with "host_cpu" and "host_os", as 2001-12-10 08:33:41 +00:00
configure.in Replace "target_cpu" and "target_os" with "host_cpu" and "host_os", as 2001-12-10 08:33:41 +00:00
etherent.c add config.h, remove gnuc.h. remove __dead 2000-07-11 00:37:04 +00:00
ethertype.h I've seen captures with all four different flavors of IPX frames on 2001-01-14 21:26:52 +00:00
gencode.c Handle the three types of link layers: 2002-04-11 07:38:32 +00:00
gencode.h SCTP support from Armando L. Caro Jr. <acaro@mail.eecis.udel.edu> 2001-05-10 14:48:01 +00:00
grammar.y Fix a memory leak found by Miklos Szeredi 2001-07-03 19:15:47 +00:00
inet.c Indicate why we have incomplete definitions for "struct mbuf" and 2002-04-09 07:37:59 +00:00
install-sh Initial revision 1999-10-07 23:46:40 +00:00
llc.h Add a "netbeui" keyword, which selects NetBEUI packets (LLC packets with 2001-01-28 09:44:48 +00:00
mkdep Initial revision 1999-10-07 23:46:40 +00:00
nametoaddr.c Indicate why we have incomplete definitions for "struct mbuf" and 2002-04-09 07:41:19 +00:00
nlpid.h Tony Li's changes, from FreeBSD, to support filtering for OSI packets 2000-10-28 09:30:20 +00:00
optimize.c <pcap.h> includes <sys/types.h> and <sys/time.h>; there's no need to 2002-03-24 23:21:51 +00:00
pcap-bpf.c Put more information into the comments for "pcap_stats()". 2001-12-10 07:14:14 +00:00
pcap-dlpi.c From John Bankier <jbankier@rainfinity.com>: the buffer into which we 2002-03-05 04:05:56 +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 Define MSG_TRUNC as 0x20 if it's not defined, so that if this is 2001-08-24 07:46:52 +00:00
pcap-linux.c Support for ARPHRD_RAWHDLC, as used by, for example, the Cyclades PC300 2002-03-07 11:27: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 Put more information into the comments for "pcap_stats()". 2001-12-10 07:14:14 +00:00
pcap-nit.h Initial revision 1999-10-07 23:46:40 +00:00
pcap-null.c When attaching a "bpf_program" to a "pcap_t" to use as a userland 2000-10-28 00:01:26 +00:00
pcap-pf.c Put more information into the comments for "pcap_stats()". 2001-12-10 07:14:14 +00:00
pcap-pf.h Initial revision 1999-10-07 23:46:40 +00:00
pcap-snit.c Put more information into the comments for "pcap_stats()". 2001-12-10 07:14:14 +00:00
pcap-snoop.c Handle 64-bit mode in IRIX, where "snoop_timestamp" in a "struct 2002-03-08 11:10:40 +00:00
pcap.3 Minor tweak to the synopsis for "pcap_setnonblock()" to make it look 2001-12-29 21:57:07 +00:00
pcap.c Have "pcap_setnonblock()" just return 0 on success, not the new value of 2001-12-29 21:55:32 +00:00
pcap.h Add APIs to put a "pcap_t" into or out of non-blocking mode, and to get 2001-12-09 05:10:02 +00:00
ppp.h IPv6 packet filtering code. 1999-10-19 15:18:28 +00:00
savefile.c No UNIX-specific functions are used here, so there's no need to include 2002-04-09 07:44:46 +00:00
scanner.l <pcap.h> includes <sys/types.h>, and "pcap-int.h" includes <pcap.h>, and 2002-04-09 08:42:39 +00:00
sll.h It's a bit more convenient for Ethereal if the "sll_protocol" field is 2000-12-23 07:50:18 +00:00

README

@(#) $Header: /tcpdump/master/libpcap/README,v 1.24 2001-06-05 03:45:55 guy Exp $ (LBL)

LIBPCAP 0.6.2
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 :pserver:tcpdump@cvs.tcpdump.org:/tcpdump/master login
	(password "anoncvs")
	cvs -d :pserver:tcpdump@cvs.tcpdump.org:/tcpdump/master checkout libpcap

Version 0.6.2 of LIBPCAP can be retrieved with the CVS tag "libpcap_0_6rel2":
	cvs -d :pserver:tcpdump@cvs.tcpdump.org:/tcpdump/master checkout -r libpcap_0_6rel2 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