aboutsummaryrefslogtreecommitdiffstats
path: root/capture_stop_conditions.c
Commit message (Collapse)AuthorAgeFilesLines
* Clean up includes of unistd.h, fcntl.h, and sys/stat.h.Guy Harris2015-11-071-1/+0
| | | | | | | | | | | | | | | Have wsutil/file_util.h include them on UN*X, just as it includes io.h on Windows, so we can have a rule of "if you do file operations, include <wsutil/file_util.h> and use the routines in it". Remove includes of unistd.h, fcntl.h, and sys/stat.h that aren't necessary (whether because of the addition of them to wsutil/file_util.h or because they weren't needed in the first place). Change-Id: Ie241dd74deff284e39a5f690a297dbb6e1dc485f Reviewed-on: https://code.wireshark.org/review/11619 Petri-Dish: Guy Harris <guy@alum.mit.edu> Reviewed-by: Guy Harris <guy@alum.mit.edu>
* Add editor modelines; Adjust whitespace as needed.Bill Meier2014-10-121-0/+13
| | | | | | Change-Id: I4da7b335d905dbca10bbce03aa88e1cdeeb1f8ad Reviewed-on: https://code.wireshark.org/review/4626 Reviewed-by: Bill Meier <wmeier@newsguy.com>
* Modify includes of config.h so that out-of-tree builds, i.e. CMakeGraham Bloice2014-08-241-1/+1
| | | | | | | | | | | don't pick up the in-tree copy. Change-Id: I7ec473876cdba1a025c52362d7f6adc62d24ce71 Reviewed-on: https://code.wireshark.org/review/3798 Petri-Dish: Graham Bloice <graham.bloice@trihedral.com> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Roland Knall <rknall@gmail.com> Reviewed-by: Graham Bloice <graham.bloice@trihedral.com>
* Remove all $Id$ from top of fileAlexis La Goutte2014-03-041-2/+0
| | | | | | | | | | (Using sed : sed -i '/^ \* \$Id\$/,+1 d') Fix manually some typo (in export_object_dicom.c and crc16-plain.c) Change-Id: I4c1ae68d1c4afeace8cb195b53c715cf9e1227a8 Reviewed-on: https://code.wireshark.org/review/497 Reviewed-by: Anders Broman <a.broman58@gmail.com>
* Handle the 2GiB boundary case of the max filesize autostop condition ↵Chris Maynard2013-08-291-3/+5
| | | | | | | | | | properly so that we avoid overflow conditions and so that we ensure we don't capture more than 2GiB. Also, document the max filesize autostop value of 2GIB as well as indicating that it's truly GiB and not GB. This fixes the problem reported on ask: http://ask.wireshark.org/questions/23891/wireshark-wont-run-with-multiple-capture-files #BACKPORT(1.10) ... not sure about 1.8? svn path=/trunk/; revision=51576
* We always HAVE_CONFIG_H so don't bother checking whether we have it or not.Jeff Morriss2012-09-201-3/+1
| | | | svn path=/trunk/; revision=45015
* Update Free Software Foundation address.Jakub Zawadzki2012-06-281-1/+1
| | | | | | (COPYING will be updated in next commit) svn path=/trunk/; revision=43536
* Include config.h in preparation of moving the definitionJörg Mayer2012-02-021-0/+4
| | | | | | of _U_ from the compiler command line into config.h svn path=/trunk/; revision=40806
* Fix an off-by-one error which caused capturing withSake Blok2008-07-121-1/+1
| | | | | | | | a duration limit of X seconds per file to actually save X+1 seconds per file svn path=/trunk/; revision=25722
* fix MSVC warnings of / and set CFLAGS to block new warningsUlf Lamping2007-03-211-1/+1
| | | | svn path=/trunk/; revision=21098
* name changeRonnie Sahlberg2006-05-211-2/+2
| | | | svn path=/trunk/; revision=18197
* replace malloc and alike calls by their GLib pendants -> g_mallocUlf Lamping2005-08-051-4/+4
| | | | svn path=/trunk/; revision=15232
* Set the svn:eol-style property on all text files to "native", so thatGuy Harris2004-07-181-1/+1
| | | | | | | | | they have LF at the end of the line on UN*X and CR/LF on Windows; hopefully this means that if a CR/LF version is checked in on Windows, the CRs will be stripped so that they show up only when checked out on Windows, not on UN*X. svn path=/trunk/; revision=11400
* Removed trailing whitespaces from .h and .c files using theJörg Mayer2002-08-281-24/+24
| | | | | | | winapi_cleanup tool written by Patrik Stridvall for the wine project. svn path=/trunk/; revision=6117
* From Joerg Mayer: mark unused arguments as such.Guy Harris2002-05-041-3/+3
| | | | svn path=/trunk/; revision=5383
* Make the bytes-written information from Wiretap a long, as we allowGuy Harris2001-12-041-4/+4
| | | | | | | | | | | | | | files to get that big. From Thomas Wittwer and Matthias Nyffenegger: Support for "ring buffer mode", wherein there's a ring buffer of N capture files; as each capture file reaches its maximum size (the ring buffer works only with a maximum capture file size specified), Ethereal rolls over to the next capture file in the ring buffer, replacing whatever packets might be in it with new packets. svn path=/trunk/; revision=4323
* Support for stopping capture at specified capture file size or captureGuy Harris2001-12-041-0/+208
duration, from Thomas Wittwer and Matthias Nyffenegger. svn path=/trunk/; revision=4322