OpenBSD CVS

CVS log for src/lib/libpcap/pcap-int.h


[BACK] Up to [local] / src / lib / libpcap

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.14 / (download) - annotate - [select for diffs], Thu Apr 5 03:47:27 2018 UTC (6 years, 2 months ago) by lteo
Branch: MAIN
CVS Tags: OPENBSD_7_5_BASE, OPENBSD_7_5, OPENBSD_7_4_BASE, OPENBSD_7_4, OPENBSD_7_3_BASE, OPENBSD_7_3, OPENBSD_7_2_BASE, OPENBSD_7_2, OPENBSD_7_1_BASE, OPENBSD_7_1, OPENBSD_7_0_BASE, OPENBSD_7_0, OPENBSD_6_9_BASE, OPENBSD_6_9, OPENBSD_6_8_BASE, OPENBSD_6_8, OPENBSD_6_7_BASE, OPENBSD_6_7, OPENBSD_6_6_BASE, OPENBSD_6_6, OPENBSD_6_5_BASE, OPENBSD_6_5, OPENBSD_6_4_BASE, OPENBSD_6_4, HEAD
Changes since 1.13: +2 -1 lines
Diff to previous 1.13 (colored)

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)

Revision 1.13 / (download) - annotate - [select for diffs], Fri Apr 11 04:08:58 2014 UTC (10 years, 2 months ago) by lteo
Branch: MAIN
CVS Tags: OPENBSD_6_3_BASE, OPENBSD_6_3, OPENBSD_6_2_BASE, OPENBSD_6_2, OPENBSD_6_1_BASE, OPENBSD_6_1, OPENBSD_6_0_BASE, OPENBSD_6_0, OPENBSD_5_9_BASE, OPENBSD_5_9, OPENBSD_5_8_BASE, OPENBSD_5_8, OPENBSD_5_7_BASE, OPENBSD_5_7, OPENBSD_5_6_BASE, OPENBSD_5_6
Changes since 1.12: +1 -3 lines
Diff to previous 1.12 (colored)

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

ok deraadt@

Revision 1.12 / (download) - annotate - [select for diffs], Fri May 25 01:58:08 2012 UTC (12 years ago) by lteo
Branch: MAIN
CVS Tags: OPENBSD_5_5_BASE, OPENBSD_5_5, OPENBSD_5_4_BASE, OPENBSD_5_4, OPENBSD_5_3_BASE, OPENBSD_5_3, OPENBSD_5_2_BASE, OPENBSD_5_2
Changes since 1.11: +25 -7 lines
Diff to previous 1.11 (colored)

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

Revision 1.11 / (download) - annotate - [select for diffs], Sun Mar 26 20:58:51 2006 UTC (18 years, 2 months ago) by djm
Branch: MAIN
CVS Tags: OPENBSD_5_1_BASE, OPENBSD_5_1, OPENBSD_5_0_BASE, OPENBSD_5_0, OPENBSD_4_9_BASE, OPENBSD_4_9, OPENBSD_4_8_BASE, OPENBSD_4_8, OPENBSD_4_7_BASE, OPENBSD_4_7, OPENBSD_4_6_BASE, OPENBSD_4_6, OPENBSD_4_5_BASE, OPENBSD_4_5, OPENBSD_4_4_BASE, OPENBSD_4_4, OPENBSD_4_3_BASE, OPENBSD_4_3, OPENBSD_4_2_BASE, OPENBSD_4_2, OPENBSD_4_1_BASE, OPENBSD_4_1, OPENBSD_4_0_BASE, OPENBSD_4_0
Changes since 1.10: +4 -2 lines
Diff to previous 1.10 (colored)

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

Revision 1.10 / (download) - annotate - [select for diffs], Fri Nov 18 11:05:39 2005 UTC (18 years, 6 months ago) by djm
Branch: MAIN
CVS Tags: OPENBSD_3_9_BASE, OPENBSD_3_9
Changes since 1.9: +17 -2 lines
Diff to previous 1.9 (colored)

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

Revision 1.9 / (download) - annotate - [select for diffs], Tue Oct 2 18:04:35 2001 UTC (22 years, 8 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_3_8_BASE, OPENBSD_3_8, OPENBSD_3_7_BASE, OPENBSD_3_7, OPENBSD_3_6_BASE, OPENBSD_3_6, OPENBSD_3_5_BASE, OPENBSD_3_5, OPENBSD_3_4_BASE, OPENBSD_3_4, OPENBSD_3_3_BASE, OPENBSD_3_3, OPENBSD_3_2_BASE, OPENBSD_3_2, OPENBSD_3_1_BASE, OPENBSD_3_1, OPENBSD_3_0_BASE, OPENBSD_3_0
Changes since 1.8: +3 -14 lines
Diff to previous 1.8 (colored)

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

Revision 1.8 / (download) - annotate - [select for diffs], Wed Apr 26 21:25:53 2000 UTC (24 years, 1 month ago) by jakob
Branch: MAIN
CVS Tags: OPENBSD_2_9_BASE, OPENBSD_2_9, OPENBSD_2_8_BASE, OPENBSD_2_8, OPENBSD_2_7_BASE, OPENBSD_2_7
Changes since 1.7: +23 -2 lines
Diff to previous 1.7 (colored)

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

Revision 1.7 / (download) - annotate - [select for diffs], Tue Jul 20 04:49:55 1999 UTC (24 years, 10 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_2_6_BASE, OPENBSD_2_6
Changes since 1.6: +16 -3 lines
Diff to previous 1.6 (colored)

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

Revision 1.6 / (download) - annotate - [select for diffs], Sat Aug 3 12:38:44 1996 UTC (27 years, 10 months ago) by niklas
Branch: MAIN
CVS Tags: OPENBSD_2_5_BASE, OPENBSD_2_5, OPENBSD_2_4_BASE, OPENBSD_2_4, OPENBSD_2_3_BASE, OPENBSD_2_3, OPENBSD_2_2_BASE, OPENBSD_2_2, OPENBSD_2_1_BASE, OPENBSD_2_1, OPENBSD_2_0_BASE, OPENBSD_2_0
Changes since 1.5: +1 -5 lines
Diff to previous 1.5 (colored)

We now define HAVE_STRERROR in CFLAGS instead

Revision 1.5 / (download) - annotate - [select for diffs], Fri Jul 26 03:43:43 1996 UTC (27 years, 10 months ago) by deraadt
Branch: MAIN
Changes since 1.4: +5 -1 lines
Diff to previous 1.4 (colored)

HAVE_STRERROR for __OpenBSD__

Revision 1.4 / (download) - annotate - [select for diffs], Fri Jul 12 13:19:11 1996 UTC (27 years, 11 months ago) by mickey
Branch: MAIN
Changes since 1.3: +11 -6 lines
Diff to previous 1.3 (colored)

bring it to the latest 0.2 LBL release.

Revision 1.3 / (download) - annotate - [select for diffs], Mon Jun 10 07:23:30 1996 UTC (28 years ago) by deraadt
Branch: MAIN
Changes since 1.2: +1 -1 lines
Diff to previous 1.2 (colored)

merge to latest libpcap

Revision 1.2 / (download) - annotate - [select for diffs], Mon Mar 4 15:47:26 1996 UTC (28 years, 3 months ago) by mickey
Branch: MAIN
Changes since 1.1: +1 -0 lines
Diff to previous 1.1 (colored)

Update to the latest LBL release.

Revision 1.1.1.1 / (download) - annotate - [select for diffs] (vendor branch), Wed Oct 18 08:43:02 1995 UTC (28 years, 8 months ago) by deraadt
CVS Tags: netbsd_1_1
Changes since 1.1: +0 -0 lines
Diff to previous 1.1 (colored)

initial import of NetBSD tree

Revision 1.1 / (download) - annotate - [select for diffs], Wed Oct 18 08:43:02 1995 UTC (28 years, 8 months ago) by deraadt
Branch: MAIN

Initial revision

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.