summaryrefslogtreecommitdiff
path: root/lib/libpcap/pcap-bpf.c
AgeCommit message (Expand)Author
2019-06-28When system calls indicate an error they return -1, not some arbitraryTheo de Raadt
2018-04-05Import pcap_set_immediate_mode() from mainline libpcap which allows aLawrence Teo
2017-04-19Switch base tools from /dev/bpf0 to /dev/bpf. Now that /dev/bpf has beenMartin Natano
2016-05-08Use /dev/bpf0 instead of /dev/bpf (without loop though), as suggested byMartin Natano
2016-05-03Move to /dev/bpf; ok lteoMartin Natano
2015-12-22remove NULL-checks before free()mmcc
2015-11-17Remove register keyword.mmcc
2015-10-01remove the #if bsdi path from here as wellJonathan Gray
2015-09-11fix libpcap for ifmedia64Stefan Sperling
2015-02-15Teach monitor_mode() that the return code for unknown ioctl requests wasStuart Henderson
2015-01-16Rename pcap_create()'s ebuf argument to errbuf to match the rest of theLawrence Teo
2015-01-16Remove pointless casts for several malloc/calloc/free calls. No objectLawrence Teo
2015-01-16Fix a use after free, where the already freed p->opt.source was used byLawrence Teo
2014-10-16use reallocarray(); ok lteoTheo de Raadt
2014-03-14Change a few malloc+memset calls to calloc.Lawrence Teo
2013-12-03timeb.h has not been used foreverTheo de Raadt
2012-05-25Import a number of core functions from libpcap-1.2.0 while preservingLawrence Teo
2006-03-26add remaining tcpdump.org libpcap 0.9 APIs, most notablyDamien Miller
2006-01-16malloc fix for bpf interface array allocation (from freebsd). useReyk Floeter
2006-01-11- check for malloc failureJared Yanovich
2005-11-18pull in the good bits of libpcap-0.9.4's API without the cross-platformDamien Miller
2004-02-06use the kernel default for buf size. no behavior change by default.Ted Unangst
2004-01-27remove $Header, it was messing up cvs for me. ok deraadt@Ted Unangst
2004-01-21Replace some strncpy() calls with strlcpy()Jean-Francois Brousseau
2003-11-24prevent double-free; from aldo@nullcube.com; dhartmei@ okMichael Shalayeff
2000-04-26sync with libpcap v0.5Jakob Schlyter
1999-08-17More <sys/file.h> vs. <fcntl.h> and open() flags fixes.Todd C. Miller
1999-07-20changes brought in from v0.4; started by brad, more by me, being tested by mtsTheo de Raadt
1998-07-14buf oflowsTheo de Raadt
1997-08-13Fix PR #299 (pcap_inject busted).dm
1996-09-16Use __inlineThorsten Lockert
1996-07-12bring it to the latest 0.2 LBL release.Michael Shalayeff
1996-06-10merge to latest libpcapTheo de Raadt
1996-03-23Use __inline, not inlineThorsten Lockert
1996-03-04Update to the latest LBL release.Michael Shalayeff
1995-11-13pcap inject function is a good idea; from scottr@edsi.org; netbsd pr#1747Theo de Raadt
1995-10-18initial import of NetBSD treeTheo de Raadt