/
nerfur
/
openbsd-src
ОбзорДокументацияВойти
/
nerfur
/
openbsd-src
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
ДокументацияПоддержка
Политика конфиденциальностиПользовательское соглашениеПолитика использования «cookies»Согласие субъекта персональных данных
2026 ©
openbsd-src/
lib/libpcap/
..
CHANGES

Zap CVS $Header tags, reduces diff with upstream's repo

12 лет назад
Makefile

mdoc version of pcap-filter;

7 лет назад
README

Zap CVS $Header tags, reduces diff with upstream's repo

12 лет назад
VERSION

sync with libpcap v0.5 add support for INET6 (kame)

26 лет назад
bpf_image.c

ANSI functions; ok tb

2 года назад
etherent.c

ANSI functions; ok tb

2 года назад
ethertype.h

Fix wrong ETHERTYPE_IPV6

9 лет назад
fad-getad.c

libpcap: replace atoi() usage with strtonum()

2 года назад
gencode.c

use the first nibble in DLT_RAW as a link type field.

год назад
gencode.h

remove prototypes with no matching function

2 года назад
grammar.y

more ansi function decls ok deraadt@

2 года назад
inet.c

libpcap: replace atoi() usage with strtonum()

2 года назад
llc.h

Zap CVS $Header tags, reduces diff with upstream's repo

12 лет назад
nametoaddr.c

ANSI functions; ok tb

2 года назад
optimize.c

more ansi function decls ok deraadt@

2 года назад
pcap-bpf.c

Delete obsolete /* ARGSUSED */ lint comments.

3 года назад
pcap-filter.5

type mgtv -> mgt; from todd carson

2 года назад
pcap-int.h

Import pcap_set_immediate_mode() from mainline libpcap which allows a libpcap-based program to process packets as soon as they arrive.

8 лет назад
pcap-namedb.h

Zap CVS $Header tags, reduces diff with upstream's repo

12 лет назад
pcap.c

Change some libpcap functions which use pointers as arguments and returns to const pointers:

8 лет назад
pcap.h

support PCAP_NETMASK_UNKNOWN, adapted from an old commit in upstream libpcap, ok dlg@

6 лет назад
pcap_open_live.3

Fix a documentation bug: pcap_fopen_offline(3) returns a pointer, not a structure. Also remove useless quoting of .Ft arguments.

год назад
ppp.h

Zap CVS $Header tags, reduces diff with upstream's repo

12 лет назад
savefile.c

Allow libpcap to read files with some additional link-layer type values

3 года назад
scanner.l

backout scanner.l strtonum commits; they restrict numbers to INT_MAX, breaking filter expressions like "ether[14:4]=0xaaaa0300". ok op@ deraadt@

2 года назад
shlib_version

crank the major cos grammar.c has grown.

6 лет назад
README
$OpenBSD: README,v 1.7 2014/04/11 04:08:58 lteo Exp $
$NetBSD: README,v 1.2 1995/03/06 11:38:07 mycroft Exp $
 
LIBPCAP 0.5
Now maintained by "The Tcpdump Group"
Send patches to patches@tcpdump.org
See www.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/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
"patches@tcpdump.org".