aboutsummaryrefslogtreecommitdiffstats
path: root/pcap-linux.c
AgeCommit message (Expand)AuthorFilesLines
2011-01-10Merge branch 'master' of git://bpf.tcpdump.org/libpcapHEADmasterPatrick McHardy1-53/+77
2010-11-14Libnl 2.x returns its own error codes, not errnos; handle that.Guy Harris1-42/+34
2010-11-13Add support for libnl 2.x, adapted from a newer version of the iw command.Guy Harris1-13/+45
2010-10-15Import pcap-dect-linuxPatrick McHardy1-0/+14
2010-08-23Fixes from Scott Mcmillan.Guy Harris1-2/+2
2010-08-22If the specified time stamp type isn't supported, treat that as a warning.Guy Harris1-57/+146
2010-08-22Add support for setting the time stamp type for a capture.Guy Harris1-9/+116
2010-08-06Fix previous checkin.Guy Harris1-8/+7
2010-08-06Use DLT_IEEE802_15_4_NOFCS for 802.15.4 interfaces.Jon Smirl1-0/+7
2010-05-18Clean up indentation.Guy Harris1-41/+40
2010-04-27Ignore /sys/net/dev files if we get ENODEV for them, not just ENXIO.andy-11-1/+1
2010-01-26Add Myricom SNF API support as a new pcap device.Christian Bell1-0/+16
2010-01-10Ignore directories in /sys/class/net.Guy Harris1-0/+6
2010-01-10Correctly handle errors other than problems reading /sys/class/net.Guy Harris1-6/+9
2010-01-10Fix some errors in the previous checkin.Guy Harris1-3/+2
2010-01-10Scan /sys/class/net if we have it.Guy Harris1-8/+144
2010-01-10On Linux, always at least try to scan /proc/net/dev.Guy Harris1-4/+0
2010-01-09Include <ctype.h>, as we use macros from it.Guy Harris1-4/+5
2010-01-09Scan /proc/net/dev on Linux regardless of how we get the interface list.Guy Harris1-0/+170
2009-12-29Add support for CANbus capture.Felix Obenhuber1-0/+16
2009-10-12Fix typo^Wbraino.Guy Harris1-1/+1
2009-10-12In pcap_read_linux_mmap(), if there are no frames available, call poll()Guy Harris1-14/+19
2009-10-11If we get POLLERR when polling a socket in memory-mapped mode, do aGuy Harris1-4/+31
2009-10-02Fix typo.Guy Harris1-1/+1
2009-10-11When reading from a BPF device, if we get ENXIO, which means "The deviceGuy Harris1-15/+58
2009-09-21Copy the right value to the ps_ifdrop statistic.Guy Harris1-1/+1
2009-09-07Note some other ways to get link statistics.Guy Harris1-1/+8
2009-09-07Note that we might not get an interface drop count from /proc/net/dev.Guy Harris1-1/+2
2009-09-07From Dustin Spicuzza: support ps_ifdrop on Linux, using /proc/net/dev.Guy Harris1-1/+83
2009-07-30The pcap_activate() man page says:Guy Harris1-0/+2
2009-07-24Get rid of unused variable.Guy Harris1-1/+0
2009-07-22From Peter Volkov:Guy Harris1-1/+1
2009-07-16Fix typo.Guy Harris1-2/+2
2009-07-16When doing Linux mmapped capture:Guy Harris1-29/+117
2009-07-15From Dustin Spicuzza:Guy Harris1-6/+16
2009-07-11Get rid of an assigned-to-but-unused variable.Guy Harris1-2/+1
2009-07-11For Linux, add to the pcap_md structure a pointer to a memory-mappedGuy Harris1-28/+21
2009-07-06In memory-mapped mode, when turning non-blocking mode on when it's off,Guy Harris1-3/+18
2009-07-04Squelch some compile warnings with older Linux kernels.Guy Harris1-2/+2
2009-07-03Not releasing a packet in Linux memory-mapped mode until we try to readGuy Harris1-60/+17
2009-07-02If HAVE_PACKET_AUXDATA isn't defined, don't declare a variable that'sGuy Harris1-1/+4
2009-06-01Move some more stuff up before the first use.Guy Harris1-197/+193
2009-06-01Move up the definition of get_mac80211_phydev() before all its uses.Guy Harris1-201/+201
2009-06-01When checking whether a device will let you turn monitor mode on, assumeGuy Harris1-60/+82
2009-05-22To put mac80211 devices in monitor mode, create a "monN" device for theGuy Harris1-17/+550
2009-04-07From a quick look at the hostap driver, it appears that newer versionsGuy Harris1-16/+30
2009-03-25Don't return PCAP_WARNING if mmapped capturing isn't supported.Guy Harris1-0/+1
2009-03-25prev_pkt is in the pcap_md structure, not the pcap_t structure itself.Guy Harris1-5/+5
2009-03-25Move "union thdr" to pcap-int.h, as we use it in pcap-int.h.Guy Harris1-6/+0
2009-03-23In memory-mapped mode, don't release the packet as soon as the callbackGuy Harris1-11/+60