aboutsummaryrefslogtreecommitdiffstats
path: root/pcap-bpf.c
AgeCommit message (Expand)AuthorFilesLines
2010-09-01Fix a problem that shows up with a max packet count passed to pcap_dispatch().Guy Harris1-4/+23
2010-08-20Fix handling of close of zerocopy BPF; based on a patch from Christian Peron.Guy Harris1-76/+62
2010-05-18Check for "no such device" for the "get the media types" ioctl in *BSD.Guy Harris1-5/+16
2010-05-18Improve error messages from bpf_open(), and let it do the error handling.Guy Harris1-17/+50
2010-05-18Return more specific errors from pcap_can_set_rfmon(); fix documentation.Guy Harris1-4/+25
2010-02-11Fix comments.Guy Harris1-5/+5
2010-01-26Add Myricom SNF API support as a new pcap device.Christian Bell1-0/+12
2009-12-18One include of <fcntl.h> suffices.Guy Harris1-1/+0
2009-11-25Don't check for DLT_IPNET if it's not defined - in pcap-bpf.c, the bpf.hGuy Harris1-2/+10
2009-11-24To compile libpcap on OpenSolaris (or Solaris Express Community Edition)Darren Reed1-1/+3
2009-10-12If bpf_odmcleanup() is being called to clean up after an error, pass itGuy Harris1-12/+16
2009-10-11When reading from a BPF device, if we get ENXIO, which means "The deviceGuy Harris1-0/+15
2009-10-11Work around an annoying Snow Leopard BPF bug that causes sub-secondGuy Harris1-7/+36
2009-10-09From Jean-Louis Charton: clean up in some failure cases on AIX.Guy Harris1-0/+3
2009-09-22For BPF, raise the default capture buffer size to .5MB; 32K isn't muchGuy Harris1-7/+15
2009-09-07Return 0 for the ps_ifdrop value, rather than leaving it with whateverGuy Harris1-0/+1
2009-07-30The pcap_activate() man page says:Guy Harris1-5/+16
2009-07-06In memory-mapped mode, when turning non-blocking mode on when it's off,Guy Harris1-3/+18
2009-06-16Add support for building AIX shared libraries. (It's complicated - weGuy Harris1-0/+2
2009-05-22To put mac80211 devices in monitor mode, create a "monN" device for theGuy Harris1-4/+4
2009-04-18From Darren Reed: some changes to support BPF on Solaris. Update hisGuy Harris1-3/+18
2008-09-16Only set the cleanup and set/get nonblocking mode handlers to theguy1-18/+14
2008-09-16Use the PCAP_ERROR #define rather than a raw -1 in all cases where anguy1-37/+38
2008-09-16Clean up indentation.guy1-132/+150
2008-09-16Fix a comment.guy1-3/+3
2008-09-16Zero-copy BPF support, from Christian Peron.guy1-3/+340
2008-07-01When activating a device, return PCAP_ERROR_IFACE_NOT_UP if the deviceguy1-6/+27
2008-04-14Turn close_op into cleanup_op; the routine that handles it can also beguy1-20/+10
2008-04-10Plug some leaks.guy1-2/+11
2008-04-09Add some PCAP_WARNING return values for "success, but you might want toguy1-28/+29
2008-04-09Add an error for "you don't have permission to open that device", asguy1-6/+21
2008-04-06In pcap_activate() on OS X 10.4, if a device isn't an "enN" device, andguy1-4/+30
2008-04-05If an interface doesn't support SIOC{G,S}IFMEDIA, just report it as notguy1-2/+9
2008-04-04From Paolo Abeni and me: split pcap_open_live() into a "get a pcap_tguy1-190/+1089
2008-01-29Get rid of trailing blanks and tabs.guy1-15/+15
2008-01-29Get rid of a no-longer-necessary #include (we no longer checkguy1-7/+2
2008-01-02Make some arguments const pointers if that makes sense.guy1-22/+38
2007-12-05Don't assume that p->fcode.bpf_insns remains unchanged while processingguy1-6/+5
2007-06-15Check for "/dev/bpf"; if we find it, use BPF as the capture mechanism,guy1-9/+2
2007-06-11Pick up changes from NetBSD:guy1-1/+19
2007-03-26From Jung-uk Kim: add support for new FreeBSD BIOCSDIRECTION ioctl.guy1-4/+17
2006-10-04Put the public libpcap headers into a pcap subdirectory in both theguy1-3/+3
2006-01-22From Sam Leffler and Jason Evans: fix the allocation of the buffer forguy1-2/+2
2005-07-10select() should work on BPF devices on Tiger; it's poll() and kqueuesguy1-7/+1
2005-07-07OK, we'll be putting out 0.9.2 soon, so add the API changes back inguy1-8/+8
2005-07-050.9's already been released, so, for better or worse, we're stuck withguy1-8/+8
2005-07-05Rename "direction_t" to "pcap_direction_t", and rename "D_IN" andguy1-8/+8
2005-06-04Sigh. In OS X 10.4 (and 10.4.1), "select()" and "poll()" don't work onguy1-13/+13
2005-05-03From Pawel Pokrywka: add support for requesting that only receivedguy1-1/+39
2005-04-21Include <sys/cfgodm.h> rather than <odmi.h> in the hopes that it'llguy1-2/+2