Up to [local] / src / lib / libpcap
Request diff between arbitrary revisions
Default branch: MAIN
Revision 1.51, Fri Aug 30 04:00:34 2019 UTC (4 years, 9 months ago) by deraadt
Branch: MAIN
CVS Tags: HEAD
Changes since 1.50: +2 -2 lines
FILE REMOVED
there is no pcap(3) function, "man pcap" returns an incorrect result. this page should be called by one of the functions, so i chose the first one: pcap_open_live(3)
Revision 1.50 / (download) - annotate - [select for diffs], Thu Dec 13 06:47:36 2018 UTC (5 years, 5 months ago) by jmc
Branch: MAIN
CVS Tags: OPENBSD_6_5_BASE,
OPENBSD_6_5
Changes since 1.49: +13 -5 lines
Diff to previous 1.49 (colored)
further document pcap_dump; from jan stary text tweaked and ok djm
Revision 1.49 / (download) - annotate - [select for diffs], Wed Dec 12 20:12:03 2018 UTC (5 years, 6 months ago) by jmc
Branch: MAIN
Changes since 1.48: +11 -2 lines
Diff to previous 1.48 (colored)
some pcap_setdirection details; from jan stary ok djm
Revision 1.48 / (download) - annotate - [select for diffs], Sun Jun 3 10:45:15 2018 UTC (6 years ago) by tb
Branch: MAIN
CVS Tags: OPENBSD_6_4_BASE,
OPENBSD_6_4
Changes since 1.47: +5 -5 lines
Diff to previous 1.47 (colored)
Sync manual with the const changes introduced in pcap.h rev 1.20.
Revision 1.47 / (download) - annotate - [select for diffs], Thu Apr 5 03:47:27 2018 UTC (6 years, 2 months ago) by lteo
Branch: MAIN
Changes since 1.46: +12 -2 lines
Diff to previous 1.46 (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.46 / (download) - annotate - [select for diffs], Mon Oct 17 02:54:40 2016 UTC (7 years, 7 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
Changes since 1.45: +2 -2 lines
Diff to previous 1.45 (colored)
Add missing argument names for pcap_offline_filter.
Revision 1.45 / (download) - annotate - [select for diffs], Wed Apr 6 09:10:28 2016 UTC (8 years, 2 months ago) by jmc
Branch: MAIN
CVS Tags: OPENBSD_6_0_BASE,
OPENBSD_6_0
Changes since 1.44: +3 -3 lines
Diff to previous 1.44 (colored)
bad spell of whether...
Revision 1.44 / (download) - annotate - [select for diffs], Wed Apr 6 08:02:56 2016 UTC (8 years, 2 months ago) by jasper
Branch: MAIN
Changes since 1.43: +16 -4 lines
Diff to previous 1.43 (colored)
add two functions from libpcap-1.7.4 which are required by at least gopacket ok lteo@ "go for it" dlg@
Revision 1.43 / (download) - annotate - [select for diffs], Sun Nov 15 23:59:21 2015 UTC (8 years, 6 months ago) by jmc
Branch: MAIN
CVS Tags: OPENBSD_5_9_BASE,
OPENBSD_5_9
Changes since 1.42: +59 -4 lines
Diff to previous 1.42 (colored)
update NAME; ok schwarze
Revision 1.42 / (download) - annotate - [select for diffs], Tue Apr 7 02:38:14 2015 UTC (9 years, 2 months ago) by lteo
Branch: MAIN
CVS Tags: OPENBSD_5_8_BASE,
OPENBSD_5_8
Changes since 1.41: +8 -7 lines
Diff to previous 1.41 (colored)
Fix miscellaneous factual, grammar, and markup errors. From Jan Stary.
Revision 1.41 / (download) - annotate - [select for diffs], Fri Jan 16 04:12:45 2015 UTC (9 years, 4 months ago) by lteo
Branch: MAIN
CVS Tags: OPENBSD_5_7_BASE,
OPENBSD_5_7
Changes since 1.40: +6 -2 lines
Diff to previous 1.40 (colored)
Complete the list of functions in the paragraph that mentions that errbuf needs to hold at least PCAP_ERRBUF_SIZE chars.
Revision 1.40 / (download) - annotate - [select for diffs], Fri Jan 16 04:03:04 2015 UTC (9 years, 4 months ago) by lteo
Branch: MAIN
Changes since 1.39: +3 -3 lines
Diff to previous 1.39 (colored)
Rename pcap_create()'s ebuf argument to errbuf to match the rest of the public pcap_* functions that use errbuf. Mainline libpcap also uses "errbuf" for pcap_create(). No object file change.
Revision 1.39 / (download) - annotate - [select for diffs], Fri Jan 16 03:37:10 2015 UTC (9 years, 4 months ago) by lteo
Branch: MAIN
Changes since 1.38: +4 -4 lines
Diff to previous 1.38 (colored)
Add more missing argument names.
Revision 1.38 / (download) - annotate - [select for diffs], Thu Jan 15 19:06:31 2015 UTC (9 years, 4 months ago) by schwarze
Branch: MAIN
Changes since 1.37: +6 -10 lines
Diff to previous 1.37 (colored)
remove .Tn; from Jan Stary <hans at stare dot cz>
Revision 1.37 / (download) - annotate - [select for diffs], Wed Dec 24 03:25:42 2014 UTC (9 years, 5 months ago) by lteo
Branch: MAIN
Changes since 1.36: +19 -19 lines
Diff to previous 1.36 (colored)
Add missing argument names, and sync the argument types and names with the ones used in the code. pointed out by schwarze@
Revision 1.36 / (download) - annotate - [select for diffs], Fri Dec 12 14:23:17 2014 UTC (9 years, 6 months ago) by schwarze
Branch: MAIN
Changes since 1.35: +10 -7 lines
Diff to previous 1.35 (colored)
markup fixes, and repair some wrong argument types while here; from Kaspars at Bankovskis dot net
Revision 1.35 / (download) - annotate - [select for diffs], Tue Jun 25 16:49:39 2013 UTC (10 years, 11 months ago) by jmc
Branch: MAIN
CVS Tags: OPENBSD_5_6_BASE,
OPENBSD_5_6,
OPENBSD_5_5_BASE,
OPENBSD_5_5,
OPENBSD_5_4_BASE,
OPENBSD_5_4
Changes since 1.34: +3 -3 lines
Diff to previous 1.34 (colored)
zap trailing whitespace;
Revision 1.34 / (download) - annotate - [select for diffs], Tue Jun 25 11:48:50 2013 UTC (10 years, 11 months ago) by sebastia
Branch: MAIN
Changes since 1.33: +3 -3 lines
Diff to previous 1.33 (colored)
bring return value of pcap_breakloop in sync with reality. OK jmc@
Revision 1.33 / (download) - annotate - [select for diffs], Mon Jul 16 08:55:48 2012 UTC (11 years, 10 months ago) by giovanni
Branch: MAIN
CVS Tags: OPENBSD_5_3_BASE,
OPENBSD_5_3,
OPENBSD_5_2_BASE,
OPENBSD_5_2
Changes since 1.32: +2 -4 lines
Diff to previous 1.32 (colored)
Add a man page describing pcap grammar help from lteo@, claudio, jmc@ ok jmc@
Revision 1.32 / (download) - annotate - [select for diffs], Fri May 25 17:10:56 2012 UTC (12 years ago) by jmc
Branch: MAIN
Changes since 1.31: +8 -6 lines
Diff to previous 1.31 (colored)
tweak previous; ok sthen lteo
Revision 1.31 / (download) - annotate - [select for diffs], Fri May 25 01:58:08 2012 UTC (12 years ago) by lteo
Branch: MAIN
Changes since 1.30: +71 -2 lines
Diff to previous 1.30 (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.30 / (download) - annotate - [select for diffs], Thu May 31 19:19:36 2007 UTC (17 years ago) by jmc
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
Changes since 1.29: +2 -2 lines
Diff to previous 1.29 (colored)
convert to new .Dd format;
Revision 1.29 / (download) - annotate - [select for diffs], Sat Sep 9 15:46:22 2006 UTC (17 years, 9 months ago) by jmc
Branch: MAIN
CVS Tags: OPENBSD_4_1_BASE,
OPENBSD_4_1,
OPENBSD_4_0_BASE,
OPENBSD_4_0
Changes since 1.28: +6 -2 lines
Diff to previous 1.28 (colored)
document pcap_get_selectable_fd(); MLINK will happen after unlock from okan demirmen; ok djm
Revision 1.28 / (download) - annotate - [select for diffs], Sun Mar 26 20:58:51 2006 UTC (18 years, 2 months ago) by djm
Branch: MAIN
Changes since 1.27: +51 -2 lines
Diff to previous 1.27 (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.27 / (download) - annotate - [select for diffs], Fri Nov 18 15:27:09 2005 UTC (18 years, 6 months ago) by jmc
Branch: MAIN
CVS Tags: OPENBSD_3_9_BASE,
OPENBSD_3_9
Changes since 1.26: +5 -5 lines
Diff to previous 1.26 (colored)
- new sentence, new line - avoid Xr to self - lookup(n.) -> look up(v.)
Revision 1.26 / (download) - annotate - [select for diffs], Fri Nov 18 11:05:39 2005 UTC (18 years, 6 months ago) by djm
Branch: MAIN
Changes since 1.25: +82 -1 lines
Diff to previous 1.25 (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.25 / (download) - annotate - [select for diffs], Thu Mar 6 20:13:15 2003 UTC (21 years, 3 months ago) by jmc
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
Changes since 1.24: +2 -2 lines
Diff to previous 1.24 (colored)
.Xr typos; ok deraadt@
Revision 1.24 / (download) - annotate - [select for diffs], Wed May 1 16:23:44 2002 UTC (22 years, 1 month ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_3_2_BASE,
OPENBSD_3_2
Changes since 1.23: +2 -2 lines
Diff to previous 1.23 (colored)
under lying -> underlying
Revision 1.23 / (download) - annotate - [select for diffs], Wed May 1 08:03:30 2002 UTC (22 years, 1 month ago) by mpech
Branch: MAIN
Changes since 1.22: +17 -10 lines
Diff to previous 1.22 (colored)
o) start new sentence on a new line; o) always close .Bl tags; o) fix usage of .Xr; millert@ ok
Revision 1.22 / (download) - annotate - [select for diffs], Mon Dec 17 22:29:47 2001 UTC (22 years, 5 months ago) by dugsong
Branch: MAIN
CVS Tags: OPENBSD_3_1_BASE,
OPENBSD_3_1
Changes since 1.21: +12 -1 lines
Diff to previous 1.21 (colored)
fix memory leak associated with compiled BPF program, sync'd from tcpdump.org. ok itojun@
Revision 1.21 / (download) - annotate - [select for diffs], Thu Dec 6 02:50:46 2001 UTC (22 years, 6 months ago) by millert
Branch: MAIN
Changes since 1.20: +2 -2 lines
Diff to previous 1.20 (colored)
A FILE * is not a file name, dammit.
Revision 1.20 / (download) - annotate - [select for diffs], Thu Apr 27 14:24:19 2000 UTC (24 years, 1 month ago) by itojun
Branch: MAIN
CVS Tags: OPENBSD_3_0_BASE,
OPENBSD_3_0,
OPENBSD_2_9_BASE,
OPENBSD_2_9,
OPENBSD_2_8_BASE,
OPENBSD_2_8,
OPENBSD_2_7_BASE,
OPENBSD_2_7
Changes since 1.19: +2 -2 lines
Diff to previous 1.19 (colored)
s/PCAP_ERRBUFF_SIZE/PCAP_ERRBUF_SIZE/ (sync with reality)
Revision 1.19 / (download) - annotate - [select for diffs], Wed Apr 26 21:25:53 2000 UTC (24 years, 1 month ago) by jakob
Branch: MAIN
Changes since 1.18: +1 -1 lines
Diff to previous 1.18 (colored)
sync with libpcap v0.5 add support for INET6 (kame)
Revision 1.18 / (download) - annotate - [select for diffs], Tue Mar 14 21:31:46 2000 UTC (24 years, 3 months ago) by aaron
Branch: MAIN
Changes since 1.17: +1 -1 lines
Diff to previous 1.17 (colored)
Suffix "i.e." and "e.g." with a comma. Just another really picky man page commit, as we want our documentation to be as consistently formatted as possible (it's getting there :-)).
Revision 1.17 / (download) - annotate - [select for diffs], Tue Jan 18 21:49:01 2000 UTC (24 years, 4 months ago) by aaron
Branch: MAIN
Changes since 1.16: +1 -1 lines
Diff to previous 1.16 (colored)
Repair duplicate word occurences; (as found by a Perl script sent to us from Tom Christiansen <tchrist@perl.com>).
Revision 1.16 / (download) - annotate - [select for diffs], Mon Aug 30 02:05:36 1999 UTC (24 years, 9 months ago) by d
Branch: MAIN
CVS Tags: OPENBSD_2_6_BASE,
OPENBSD_2_6
Changes since 1.15: +7 -8 lines
Diff to previous 1.15 (colored)
someone went overboard with Fn. Also Pa the email address. ok aaron@
Revision 1.15 / (download) - annotate - [select for diffs], Tue Jul 20 04:49:55 1999 UTC (24 years, 10 months ago) by deraadt
Branch: MAIN
Changes since 1.14: +42 -22 lines
Diff to previous 1.14 (colored)
changes brought in from v0.4; started by brad, more by me, being tested by mts
Revision 1.14 / (download) - annotate - [select for diffs], Fri Jul 9 13:35:28 1999 UTC (24 years, 11 months ago) by aaron
Branch: MAIN
Changes since 1.13: +1 -1 lines
Diff to previous 1.13 (colored)
- remove all trailing whitespace * except when it is escaped with a `\' at the end of the line - fix remaining .Nm usage as well - this is from a patch I received from kwesterback@home.com, who has been working on some scripts for fixing formatting errors in mdoc'd man pages Ok, so there could be a cost/benefit debate with this commit, but since I have the patch we might as well commit it...
Revision 1.13 / (download) - annotate - [select for diffs], Wed Jul 7 10:50:06 1999 UTC (24 years, 11 months ago) by aaron
Branch: MAIN
Changes since 1.12: +1 -1 lines
Diff to previous 1.12 (colored)
The proper order of the ``introductory'' macros in a man page is .Dd/.Dt/.Os. Out of the approximately 1450 man pages, only about 90 of them were wrong. Thanks to kwesterback@home.com for coming up with a script and patch to repair this. The patch also inserted a .Os macro in the few man pages that were missing one.
Revision 1.12 / (download) - annotate - [select for diffs], Fri Jul 2 20:11:49 1999 UTC (24 years, 11 months ago) by aaron
Branch: MAIN
Changes since 1.11: +1 -1 lines
Diff to previous 1.11 (colored)
consistent .Dd usage; proper format is: .Dd Month DD, YYYY
Revision 1.11 / (download) - annotate - [select for diffs], Fri Jun 18 02:20:40 1999 UTC (25 years ago) by aaron
Branch: MAIN
Changes since 1.10: +228 -236 lines
Diff to previous 1.10 (colored)
new mandoc-style pcap(3) man page; kwesterback@home.com
Revision 1.10 / (download) - annotate - [select for diffs], Thu Jun 17 15:51:08 1999 UTC (25 years ago) by brad
Branch: MAIN
Changes since 1.9: +1 -1 lines
Diff to previous 1.9 (colored)
fix RCS tags
Revision 1.9 / (download) - annotate - [select for diffs], Sat Sep 5 17:41:47 1998 UTC (25 years, 9 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_2_5_BASE,
OPENBSD_2_5,
OPENBSD_2_4_BASE,
OPENBSD_2_4
Changes since 1.8: +5 -5 lines
Diff to previous 1.8 (colored)
more man page repairs; aaron@ug.cs.dal.ca
Revision 1.8 / (download) - annotate - [select for diffs], Wed Jul 22 04:32:39 1998 UTC (25 years, 10 months ago) by deraadt
Branch: MAIN
Changes since 1.7: +5 -4 lines
Diff to previous 1.7 (colored)
remove references to tcpslice as it is not shipped with the system.. this is questionable
Revision 1.7 / (download) - annotate - [select for diffs], Wed Jun 24 16:12:59 1998 UTC (25 years, 11 months ago) by deraadt
Branch: MAIN
Changes since 1.6: +1 -1 lines
Diff to previous 1.6 (colored)
typo; deberg@mit.edu
Revision 1.6 / (download) - annotate - [select for diffs], Wed Sep 18 03:10:04 1996 UTC (27 years, 8 months ago) by deraadt
Branch: MAIN
CVS Tags: 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: +2 -2 lines
Diff to previous 1.5 (colored)
tcpdump(8) not (1); noted by msaitoh@spa.is.uec.ac.jp
Revision 1.5 / (download) - annotate - [select for diffs], Fri Jul 12 13:19:12 1996 UTC (27 years, 11 months ago) by mickey
Branch: MAIN
Changes since 1.4: +1 -1 lines
Diff to previous 1.4 (colored)
bring it to the latest 0.2 LBL release.
Revision 1.4 / (download) - annotate - [select for diffs], Mon Jun 10 07:23:31 1996 UTC (28 years ago) by deraadt
Branch: MAIN
Changes since 1.3: +6 -6 lines
Diff to previous 1.3 (colored)
merge to latest libpcap
Revision 1.3 / (download) - annotate - [select for diffs], Mon Mar 4 15:47:27 1996 UTC (28 years, 3 months ago) by mickey
Branch: MAIN
Changes since 1.2: +1 -0 lines
Diff to previous 1.2 (colored)
Update to the latest LBL release.
Revision 1.2 / (download) - annotate - [select for diffs], Mon Nov 13 04:31:42 1995 UTC (28 years, 7 months ago) by deraadt
Branch: MAIN
Changes since 1.1: +9 -0 lines
Diff to previous 1.1 (colored)
pcap inject function is a good idea; from scottr@edsi.org; netbsd pr#1747
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