aboutsummaryrefslogtreecommitdiffstats
path: root/dumpcap.c
AgeCommit message (Expand)AuthorFilesLines
2010-05-28Move some code (including the optional objects) into libwsutilJeff Morriss1-3/+3
2010-05-27Make -q not a capture option again - it's used by tshark even when notGuy Harris1-5/+9
2010-05-26Don't send ^T output to the standard error if we're a capture child.Guy Harris1-6/+10
2010-05-26Add a -q flag to dumpcap, to squelch its reporting of the packet count,Guy Harris1-5/+89
2010-05-25Pull the big pile of code that handles theGuy Harris1-129/+101
2010-05-19Don't have -M affect -v yet; if we end up, for example, having dumpcapGuy Harris1-40/+17
2010-05-19-S doesn't require an interface, either.Guy Harris1-10/+15
2010-05-19Regularize indentation a bit.Guy Harris1-164/+148
2010-05-18Squelch an unused-variable warning.Guy Harris1-0/+2
2010-05-18Move some routines around, fix and shuffle comments.Guy Harris1-24/+24
2010-05-18Move get_pcap_linktype() into dumpcap - it's not used elsewhere.Guy Harris1-0/+123
2010-05-18Only negative return values from pcap_activate() are errors; positiveGuy Harris1-3/+8
2010-05-18Don't write the SP_SUCCESS messages unless -Z was specified.Guy Harris1-29/+60
2010-05-17Make -Z always generate machine-readable output, and don't botherGuy Harris1-14/+26
2010-05-17If dumpcap is run with -D, don't select a default interface; it's notGuy Harris1-12/+30
2010-05-17When dumpcap is run to get an interface list, interface capabilities, orGuy Harris1-2/+11
2010-05-14Um, no, the problem with the Leopard x86 build is that we first do aGuy Harris1-4/+4
2010-05-14See whether the Leopard x86 buildbot is upset because of the nameGuy Harris1-4/+4
2010-05-13Fetch an indication of whether the interface supports capturing inGuy Harris1-26/+120
2010-05-11If we have pcap_open(), and we're *not* opening an rpcap URL, open theGuy Harris1-14/+24
2010-05-08Include inet_v6defs.h after include the Windows socket headers, so itGuy Harris1-4/+4
2010-05-08Include inet_v6defs.h if needed to declare inet_ntop().Guy Harris1-0/+4
2010-05-08The default capture buffer size is, in fact, *nominally* 1MB; however,Guy Harris1-1/+1
2010-05-07As with the list of data link types, so with the list of interfaces; moveGuy Harris1-2/+95
2010-05-07Add routines vfprintf_stderr() and fprintf_stderr() to print to theGuy Harris1-0/+21
2010-05-07For TShark and Wireshark, get the list of link-layer types for anGuy Harris1-2/+150
2010-05-07Oops, -B disappeared from the list of dumpcap options in the change toGuy Harris1-1/+1
2010-05-07Beginnings of monitor mode support with libpcap 1.x.Guy Harris1-7/+30
2010-05-07Instead, say that the default is platform-dependent.Guy Harris1-1/+1
2010-05-07Now that we support -B on various UN*X platforms as well as Windows, weGuy Harris1-1/+1
2010-05-06Just check for pcap_create(); it first appeared in libpcap 1.0.0, andGuy Harris1-7/+5
2010-05-06Fix compilation.Gerald Combs1-2/+4
2010-05-06Checking in Stigs changes fromAnders Broman1-24/+45
2010-04-23Revert r31529. Timing out while waiting for the pcap file header causesGerald Combs1-25/+4
2010-04-01Expand the comment explaining the workaround for the Snow LeopardGuy Harris1-8/+18
2010-03-31Enable pcap timeout workaround for Mac OS X 10.6.3, since the bug seems to beMichael Tüxen1-1/+2
2010-03-13From Hilko Bengen: support capturing from UNIX-domain sockets.Guy Harris1-16/+74
2010-03-04"capture-pcap-util.h" include <pcap.h>, and <pcap.h>, for better orGuy Harris1-3/+2
2010-03-04In Wireshark and TShark, run dumpcap to get interface lists and lists ofGuy Harris1-0/+20
2010-03-01Squelch some compiler warnings.Guy Harris1-9/+9
2010-02-27Move a routine into dumpcap - it's not used outside dumpcap.Guy Harris1-0/+20
2010-01-14If we're using threads, time out when reading the file header.Gerald Combs1-5/+26
2009-11-26Only do the 1-second timeout in OS X 10.6 and 10.6.1; the bug is fixedGuy Harris1-1/+32
2009-10-06Invert check for getopt: NEED_GETOPT_H -> HAVE_GETOPT_HStig Bjørlykke1-3/+4
2009-10-01Cast a pointer to avoid a warning.Stig Bjørlykke1-1/+1
2009-09-29Initialize magic to avoid a warning about a possible uninitialized read.Stig Bjørlykke1-1/+1
2009-09-13Don't use SIGUSR1 to tell dumpcap to exit, use SIGINT: SIGINT is traditionallyJeff Morriss1-38/+17
2009-09-08Use Wireshark/GLib attribute specifiers instead of checking for __GNUC__ expl...Kovarththanan Rajaratnam1-14/+9
2009-08-31Use a timeout of a second for Mac OS X, when buildingMichael Tüxen1-0/+4
2009-08-28Make the windows build compile.Anders Broman1-0/+2