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 188fee53cc If we're receiving packets from a PF_PACKET socket, check whether the
interface index of the interface for the packet is the interface index
of the loopback interface and, if it is, check if the packet is an
outgoing packet; if so, ignore it, as we'll also be seeing that packet
as a received packet.

If we don't handle the arphrd type of an interface, and fall back on
cooked mode, report the arphrd type, so we know what type we should
consider supporting (if that type can't be supported well, e.g.  if you
don't get any link-layer header, as happens with PPP, we'd be silent).
2000-10-25 07:46:49 +00:00
SUNOS4 Initial revision 1999-10-07 23:46:40 +00:00
bpf/net Eliminate __P(). 2000-10-23 19:32:20 +00:00
lbl Add "lbl/os-osf4.h" to declare "snprintf()" and "vsnprintf()", to 2000-10-21 05:04:18 +00:00
linux-include/netinet Eliminate __P(). 2000-10-23 19:32:20 +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 Oh, well, maybe *next* time I'll remember that the names are in 2000-10-22 04:18:44 +00:00
FILES Add "lbl/os-osf4.h" to declare "snprintf()" and "vsnprintf()", to 2000-10-21 05:04: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
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 We should no longer need to use our own versions of system header files 2000-10-21 04:50:43 +00:00
configure.in We should no longer need to use our own versions of system header files 2000-10-21 04:50:43 +00:00
etherent.c add config.h, remove gnuc.h. remove __dead 2000-07-11 00:37:04 +00:00
ethertype.h Improved VLAN support, from Peter Jeremy - "vlan" filtering keyword, 2000-10-22 04:15:55 +00:00
gencode.c Clean up the lexical analyzer if we return normally from 2000-10-25 07:28:22 +00:00
gencode.h Improved VLAN support, from Peter Jeremy - "vlan" filtering keyword, 2000-10-22 04:15:55 +00:00
grammar.y Improved VLAN support, from Peter Jeremy - "vlan" filtering keyword, 2000-10-22 04:15:55 +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 If we're receiving packets from a PF_PACKET socket, check whether the 2000-10-25 07:46:49 +00:00
pcap-linux.c If we're receiving packets from a PF_PACKET socket, check whether the 2000-10-25 07:46:49 +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 Document that a null pointer or "any", when specified as the "device" 2000-10-22 02:21:34 +00:00
pcap.c The Linux "pcap_setfilter()" makes a copy of the filter it's handed, and 2000-10-25 06:59:09 +00:00
pcap.h The Linux "pcap_setfilter()" makes a copy of the filter it's handed, and 2000-10-25 06:59:09 +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 Improved VLAN support, from Peter Jeremy - "vlan" filtering keyword, 2000-10-22 04:15:55 +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