History log of /openbsd-src/lib/libpcap/pcap-int.h (Results 1 – 14 of 14)
Revision Date Author Comments
# 346f594f 05-Apr-2018 lteo <lteo@openbsd.org>

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

feedback from jasper@
ok jca@
(a long time ago)


# 6d6dc666 11-Apr-2014 lteo <lteo@openbsd.org>

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

ok deraadt@


# 11297935 25-May-2012 lteo <lteo@openbsd.org>

Import a number of core functions from libpcap-1.2.0 while preserving
local changes: strncpy() -> strlcpy(), malloc(x * y) -> calloc(x, y),
exclude cross-platform cruft, etc.

The new functions are p

Import a number of core functions from libpcap-1.2.0 while preserving
local changes: strncpy() -> strlcpy(), malloc(x * y) -> calloc(x, y),
exclude cross-platform cruft, etc.

The new functions are pcap_create(), pcap_set_snaplen(),
pcap_set_promisc(), pcap_can_set_rfmon(), pcap_set_rfmon(),
pcap_set_timeout(), pcap_set_buffer_size(), pcap_activate(), and
pcap_statustostr().

This diff was tested on amd64, i386, macppc, and sparc64, where
regression tests were done on various pcap-based ports (especially amd64
and i386 where regression tests were run on all pcap-based ports).
Testers also tried running pcap-based ports that they are familiar with
to ensure that there is no behavioral change. tcpdump and pflogd in
base were also tested by different testers. The new pcap_* functions
were tested with a proof-of-concept Snort 2.9 port for many months.

Thank you to everyone who helped test this diff and provided feedback:
haesbaert@, sthen@, matthew@, gonzalo@, brett@, Rodolfo Gouveia,
Aaron Bieber, Markus Lude, and Ray Percival.

ok haesbaert sthen henning

show more ...


# c1bf1209 26-Mar-2006 djm <djm@openbsd.org>

add remaining tcpdump.org libpcap 0.9 APIs, most notably
pcap_setdirection() (which depends on the kernel-side bpf changes
committed yesterday); ok canacar@


# a878b819 18-Nov-2005 djm <djm@openbsd.org>

pull in the good bits of libpcap-0.9.4's API without the cross-platform
cruft. help from deraadt@, mpf@, jmc@; ok mpf@a

nb. this will break tcpdump unless it updated too


# eb867ec1 02-Oct-2001 deraadt <deraadt@openbsd.org>

change timeval to bpf_timeval; 32 bit in size, permitting much greater portability


# a9b0695f 26-Apr-2000 jakob <jakob@openbsd.org>

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


# 01efc7ef 20-Jul-1999 deraadt <deraadt@openbsd.org>

changes brought in from v0.4; started by brad, more by me, being tested by mts


# 66f7b1aa 03-Aug-1996 niklas <niklas@openbsd.org>

We now define HAVE_STRERROR in CFLAGS instead


# c69d33f6 26-Jul-1996 deraadt <deraadt@openbsd.org>

HAVE_STRERROR for __OpenBSD__


# 9b113833 12-Jul-1996 mickey <mickey@openbsd.org>

bring it to the latest 0.2 LBL release.


# 8a71272b 10-Jun-1996 deraadt <deraadt@openbsd.org>

merge to latest libpcap


# 5262edaf 04-Mar-1996 mickey <mickey@openbsd.org>

Update to the latest LBL release.


# df930be7 18-Oct-1995 deraadt <deraadt@openbsd.org>

initial import of NetBSD tree