Index of /freebsd/head/contrib/libpcap
Name Last modified Size Description
Parent Directory 24-Oct-2014 04:45 -
CHANGES 30-May-2013 04:34 27k
CREDITS 30-May-2013 04:34 9k
INSTALL.txt 27-Sep-2011 02:13 17k
LICENSE 27-Sep-2011 02:13 1k
Makefile.in 06-Oct-2012 04:34 23k
TODO 27-Sep-2011 02:13 2k
VERSION 30-May-2013 04:34 1k
acconfig.h 27-Sep-2011 02:13 1k
arcnet.h 27-Sep-2011 02:13 2k
atmuni31.h 27-Sep-2011 02:13 4k
bpf/ 27-Sep-2011 02:13 -
bpf_dump.c 01-Nov-2013 04:42 2k
bpf_image.c 01-Nov-2013 04:42 5k
chmod_bpf 27-Sep-2011 02:13 1k
config.guess 27-Sep-2011 02:13 44k
config.h.in 30-May-2013 04:34 8k
config.sub 27-Sep-2011 02:13 34k
configure 30-May-2013 04:34 361k
configure.in 30-May-2013 04:34 40k
dlpisubs.c 27-Sep-2011 02:13 9k
dlpisubs.h 27-Sep-2011 02:13 1k
etherent.c 27-Sep-2011 02:13 3k
ethertype.h 14-May-2012 04:35 4k
fad-getad.c 30-May-2013 04:34 8k
fad-gifc.c 30-May-2013 04:34 13k
fad-glifc.c 30-May-2013 04:34 10k
fad-null.c 27-Sep-2011 02:13 3k
fad-sita.c 30-May-2013 04:34 2k
fad-win32.c 27-Sep-2011 02:13 8k
gencode.c 30-May-2013 04:34 195k
gencode.h 06-Oct-2012 04:34 10k
grammar.y 28-Oct-2013 04:43 19k
ieee80211.h 08-Jan-2014 04:35 5k
inet.c 07-Oct-2014 04:29 24k
install-sh 27-Sep-2011 02:13 5k
lbl/ 27-Sep-2011 02:13 -
llc.h 27-Sep-2011 02:13 2k
missing/ 27-Sep-2011 02:13 -
mkdep 27-Sep-2011 02:13 2k
nametoaddr.c 30-May-2013 04:34 11k
nlpid.h 27-Sep-2011 02:13 2k
optimize.c 30-May-2013 04:34 47k
packaging/ 06-Oct-2012 04:34 -
pcap-bpf.c 30-May-2013 04:34 69k
pcap-bpf.h 27-Sep-2011 02:13 2k
pcap-bt-linux.c 30-May-2013 04:34 11k
pcap-bt-linux.h 30-May-2013 04:34 2k
pcap-can-linux.c 30-May-2013 04:34 8k
pcap-can-linux.h 30-May-2013 04:34 2k
pcap-canusb-linux.c 30-May-2013 04:34 12k
pcap-canusb-linux.h 30-May-2013 04:34 2k
pcap-common.c 30-May-2013 04:34 36k
pcap-common.h 27-Sep-2011 02:13 1k
pcap-config.1 27-Sep-2011 02:13 2k
pcap-config.in 14-May-2012 04:35 2k
pcap-dag.c 30-May-2013 04:34 31k
pcap-dag.h 30-May-2013 04:34 2k
pcap-dlpi.c 30-May-2013 04:34 43k
pcap-dos.c 27-Sep-2011 02:13 34k
pcap-dos.h 27-Sep-2011 02:13 7k
pcap-enet.c 27-Sep-2011 02:13 5k
pcap-filter.manmisc 30-May-2013 04:34 30k
pcap-filter.manmisc.in 30-May-2013 04:34 30k
pcap-int.h 30-May-2013 04:34 16k
pcap-libdlpi.c 30-May-2013 04:34 10k
pcap-linktype.manmisc 14-May-2012 04:35 2k
pcap-linktype.manmis..> 14-May-2012 04:35 2k
pcap-linux.c 30-May-2013 04:34 151k
pcap-namedb.h 27-Sep-2011 02:13 2k
pcap-netfilter-linux.c 30-May-2013 04:34 18k
pcap-netfilter-linux.h 30-May-2013 04:34 2k
pcap-nit.c 30-May-2013 04:34 9k
pcap-null.c 30-May-2013 04:34 2k
pcap-pf.c 30-May-2013 04:34 16k
pcap-savefile.manfile 14-May-2012 04:35 5k
pcap-savefile.manfil..> 27-Sep-2011 02:13 5k
pcap-septel.c 30-May-2013 04:34 7k
pcap-septel.h 30-May-2013 04:34 1k
pcap-sita.c 30-May-2013 04:34 35k
pcap-sita.h 27-Sep-2011 02:13 1k
pcap-sita.html 27-Sep-2011 02:13 37k
pcap-snf.c 30-May-2013 04:34 6k
pcap-snf.h 30-May-2013 04:34 1k
pcap-snit.c 30-May-2013 04:34 11k
pcap-snoop.c 30-May-2013 04:34 12k
pcap-stdinc.h 14-May-2012 04:35 3k
pcap-tstamp.manmisc 15-May-2012 04:53 6k
pcap-tstamp.manmisc.in 14-May-2012 04:35 6k
pcap-usb-linux.c 30-May-2013 04:34 24k
pcap-usb-linux.h 30-May-2013 04:34 2k
pcap-win32.c 30-May-2013 04:34 20k
pcap.3pcap 14-May-2012 04:35 26k
pcap.3pcap.in 14-May-2012 04:35 26k
pcap.c 07-Oct-2014 04:29 47k
pcap.h 27-Sep-2011 02:13 2k
pcap/ 01-Nov-2013 04:42 -
pcap_activate.3pcap 14-May-2012 04:35 3k
pcap_breakloop.3pcap 30-May-2013 04:34 4k
pcap_can_set_rfmon.3..> 14-May-2012 04:35 2k
pcap_close.3pcap 27-Sep-2011 02:13 2k
pcap_compile.3pcap 14-May-2012 04:35 3k
pcap_compile.3pcap.in 14-May-2012 04:35 3k
pcap_create.3pcap 27-Sep-2011 02:13 2k
pcap_datalink.3pcap 14-May-2012 04:35 2k
pcap_datalink.3pcap.in 14-May-2012 04:35 2k
pcap_datalink_name_t..> 14-May-2012 04:35 2k
pcap_datalink_val_to..> 14-May-2012 04:35 2k
pcap_dump.3pcap 27-Sep-2011 02:13 2k
pcap_dump_close.3pcap 27-Sep-2011 02:13 2k
pcap_dump_file.3pcap 27-Sep-2011 02:13 2k
pcap_dump_flush.3pcap 27-Sep-2011 02:13 2k
pcap_dump_ftell.3pcap 27-Sep-2011 02:13 2k
pcap_dump_open.3pcap 14-May-2012 04:35 3k
pcap_dump_open.3pcap.in 27-Sep-2011 02:13 3k
pcap_file.3pcap 27-Sep-2011 02:13 2k
pcap_fileno.3pcap 14-May-2012 04:35 2k
pcap_findalldevs.3pcap 14-May-2012 04:35 5k
pcap_freecode.3pcap 27-Sep-2011 02:13 2k
pcap_get_selectable_..> 14-May-2012 04:35 4k
pcap_geterr.3pcap 27-Sep-2011 02:13 2k
pcap_inject.3pcap 27-Sep-2011 02:13 3k
pcap_is_swapped.3pcap 27-Sep-2011 02:13 2k
pcap_lib_version.3pcap 27-Sep-2011 02:13 2k
pcap_list_datalinks...> 14-May-2012 04:35 2k
pcap_list_datalinks...> 14-May-2012 04:35 2k
pcap_list_tstamp_typ..> 15-May-2012 04:53 2k
pcap_list_tstamp_typ..> 14-May-2012 04:35 3k
pcap_lookupdev.3pcap 27-Sep-2011 02:13 2k
pcap_lookupnet.3pcap 27-Sep-2011 02:13 2k
pcap_loop.3pcap 30-May-2013 04:34 5k
pcap_major_version.3..> 14-May-2012 04:35 2k
pcap_next_ex.3pcap 14-May-2012 04:35 4k
pcap_offline_filter...> 30-May-2013 04:34 2k
pcap_open_dead.3pcap 14-May-2012 04:35 2k
pcap_open_dead.3pcap.in 27-Sep-2011 02:13 2k
pcap_open_live.3pcap 14-May-2012 04:35 3k
pcap_open_offline.3pcap 14-May-2012 04:35 3k
pcap_open_offline.3p..> 27-Sep-2011 02:13 3k
pcap_set_buffer_size..> 27-Sep-2011 02:13 2k
pcap_set_datalink.3pcap 14-May-2012 04:35 2k
pcap_set_promisc.3pcap 27-Sep-2011 02:13 2k
pcap_set_rfmon.3pcap 27-Sep-2011 02:13 2k
pcap_set_snaplen.3pcap 27-Sep-2011 02:13 2k
pcap_set_timeout.3pcap 27-Sep-2011 02:13 2k
pcap_set_tstamp_type..> 15-May-2012 04:53 2k
pcap_set_tstamp_type..> 14-May-2012 04:35 2k
pcap_setdirection.3pcap 27-Sep-2011 02:13 2k
pcap_setfilter.3pcap 27-Sep-2011 02:13 2k
pcap_setnonblock.3pcap 27-Sep-2011 02:13 3k
pcap_snapshot.3pcap 27-Sep-2011 02:13 2k
pcap_stats.3pcap 27-Sep-2011 02:13 3k
pcap_statustostr.3pcap 27-Sep-2011 02:13 2k
pcap_strerror.3pcap 27-Sep-2011 02:13 2k
pcap_tstamp_type_nam..> 14-May-2012 04:35 2k
pcap_tstamp_type_val..> 14-May-2012 04:35 2k
ppp.h 27-Sep-2011 02:13 3k
runlex.sh 27-Sep-2011 02:13 5k
savefile.c 14-May-2012 04:35 9k
scanner.l 30-May-2013 04:34 11k
sf-pcap-ng.c 14-May-2012 04:35 27k
sf-pcap-ng.h 27-Sep-2011 02:13 1k
sf-pcap.c 14-May-2012 04:35 16k
sf-pcap.h 27-Sep-2011 02:13 2k
sunatmpos.h 27-Sep-2011 02:13 2k
tests/ 06-Oct-2012 04:34 -
@(#) $Header: /tcpdump/master/libpcap/README,v 1.34 2008-12-14 19:44:14 guy Exp $ (LBL)
LIBPCAP 1.x.y
www.tcpdump.org
Please send inquiries/comments/reports to:
tcpdump-workers@lists.tcpdump.org
Anonymous Git is available via:
git clone git://bpf.tcpdump.org/libpcap
Version 1.x.y of LIBPCAP can be retrieved with the CVS tag "libpcap_1_{x}rel{y}":
cvs -d :pserver:tcpdump@cvs.tcpdump.org:/tcpdump/master checkout -r libpcap_1_{x}rel{y} libpcap
Please submit patches by forking the branch on GitHub at
http://github.com/mcr/libpcap/tree/master
and issuing a pull request.
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.
For some platforms there are README.{system} files that discuss issues
with the OS's interface for packet capture on those platforms, such as
how to enable support for that interface in the OS, if it's not built in
by default.
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 can be
found at
ftp://ftp.ee.lbl.gov/papers/bpf-usenix93.ps.Z
or
http://www.tcpdump.org/papers/bpf-usenix93.ps.Z
and a gzipped version can be found at
http://www.tcpdump.org/papers/bpf-usenix93.ps.gz
A PDF version can be found at
http://www.tcpdump.org/papers/bpf-usenix93.pdf
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, OpenBSD, DragonFly
BSD, and Mac OS X; an older, modified and undocumented version is
standard in AIX. {DEC OSF/1, Digital UNIX, Tru64 UNIX} 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:
http://www.tcpdump.org/other/bpfext42.tar.Z
Linux, in the 2.2 kernel and later kernels, has a "Socket Filter"
mechanism that accepts BPF filters; see the README.linux file for
information on configuring that option.
Note to Linux distributions and *BSD systems that include libpcap:
There's now a rule to make a shared library, which should work on Linux
and *BSD, among other platforms.
It sets the soname of the library to "libpcap.so.1"; this is what it
should be, *NOT* libpcap.so.1.x or libpcap.so.1.x.y or something such as
that.
We've been maintaining binary compatibility between libpcap releases for
quite a while; there's no reason to tie a binary linked with libpcap to
a particular release of libpcap.
Problems, bugs, questions, desirable enhancements, etc. should be sent
to the address "tcpdump-workers@lists.tcpdump.org". Bugs, support
requests, and feature requests may also be submitted on the GitHub issue
tracker for libpcap at
https://github.com/mcr/libpcap/issues
Source code contributions, etc. should be sent to the email address
above or submitted by forking the branch on GitHub at
http://github.com/mcr/libpcap/tree/master
and issuing a pull request.
Current versions can be found at www.tcpdump.org.
- The TCPdump team