Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Remove register keyword. | 2015-11-17 | 1 | -2/+2 | |
| | | | | ok deraadt@ | ||||
* | Remove pointless casts for several malloc/calloc/free calls. No object | 2015-01-16 | 1 | -2/+2 | |
| | | | | file change. | ||||
* | Convert several calloc calls to reallocarray. These calloc calls were | 2014-06-26 | 1 | -2/+3 | |
| | | | | | | originally malloc(n * m) calls (without memset/bzero) in the past. ok deraadt@ tedu@ | ||||
* | Change a few malloc+memset calls to calloc. | 2014-03-14 | 1 | -3/+2 | |
| | | | | ok deraadt@ florian@ | ||||
* | Import a number of core functions from libpcap-1.2.0 while preserving | 2012-05-25 | 1 | -23/+202 | |
| | | | | | | | | | | | | | | | | | | | | | | | | 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 | ||||
* | remove support for the old pflog format, replaced in 2003 | 2010-06-26 | 1 | -2/+1 | |
| | | | | ok ryan theo & herr reyksminister | ||||
* | use calloc() to avoid malloc(n * m) overflows; checked by djm canacar jsg | 2007-09-02 | 1 | -2/+2 | |
| | |||||
* | add remaining tcpdump.org libpcap 0.9 APIs, most notably | 2006-03-26 | 1 | -1/+71 | |
| | | | | | pcap_setdirection() (which depends on the kernel-side bpf changes committed yesterday); ok canacar@ | ||||
* | pull in the good bits of libpcap-0.9.4's API without the cross-platform | 2005-11-18 | 1 | -1/+181 | |
| | | | | | | cruft. help from deraadt@, mpf@, jmc@; ok mpf@a nb. this will break tcpdump unless it updated too | ||||
* | remove $Header, it was messing up cvs for me. ok deraadt@ | 2004-01-27 | 1 | -6/+1 | |
| | |||||
* | fix memory leak associated with compiled BPF program, sync'd from tcpdump.org. ok itojun@ | 2001-12-17 | 1 | -3/+3 | |
| | |||||
* | changes brought in from v0.4; started by brad, more by me, being tested by mts | 1999-07-20 | 1 | -12/+23 | |
| | |||||
* | buf oflows | 1998-07-14 | 1 | -2/+2 | |
| | |||||
* | bring it to the latest 0.2 LBL release. | 1996-07-12 | 1 | -10/+30 | |
| | |||||
* | merge to latest libpcap | 1996-06-10 | 1 | -12/+6 | |
| | |||||
* | Update to the latest LBL release. | 1996-03-04 | 1 | -5/+12 | |
| | |||||
* | initial import of NetBSD tree | 1995-10-18 | 1 | -0/+175 | |