summaryrefslogtreecommitdiffstats
path: root/lib/libpcap/savefile.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Import a number of core functions from libpcap-1.2.0 while preservinglteo2012-05-251-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | 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
* add remaining tcpdump.org libpcap 0.9 APIs, most notablydjm2006-03-261-16/+71
| | | | | pcap_setdirection() (which depends on the kernel-side bpf changes committed yesterday); ok canacar@
* remove $Header, it was messing up cvs for me. ok deraadt@tedu2004-01-271-6/+1
|
* changes brought in from v0.4; started by brad, more by me, being tested by mtsderaadt1999-07-201-16/+32
|
* if pcap_dump_open() specified a snaplen of -1, make sure pcap_open_offline() does not malloc -1, but uses max snaplen; pointed out by mts@nfr.netderaadt1999-07-191-1/+7
|
* buf oflowsderaadt1998-07-141-9/+15
|
* bring it to the latest 0.2 LBL release.mickey1996-07-121-21/+72
|
* merge to latest libpcapderaadt1996-06-101-36/+10
|
* Update to the latest LBL release.mickey1996-03-041-9/+36
|
* initial import of NetBSD treederaadt1995-10-181-0/+287