aboutsummaryrefslogtreecommitdiffstats
path: root/capture_opts.c
AgeCommit message (Collapse)AuthorFilesLines
2005-05-30fix #148: (win32 only) use command line parameter -B to set capture buffer sizeUlf Lamping1-0/+5
svn path=/trunk/; revision=14484
2005-05-26use the log features of the GLib to have verbose output of the capturing ↵Ulf Lamping1-26/+26
engine, e.g. GLib provides different domains for different submodules. Output more verbose than warning level will be disabled by default (just like before). use the console_log_handler in main.c for win32 AND unix now Currently use the log for the capturing engine (only), as I desperately needed a log output for debugging. svn path=/trunk/; revision=14438
2005-04-27add a state member to the capture_opts, and set it according to the capture ↵Ulf Lamping1-0/+1
engine svn path=/trunk/; revision=14205
2005-04-12capture engine: Ulf Lamping1-0/+1
add a new feature to clear the currently captured packets and restart the capture with the previous parameters various code cleanup and minor bugfixes Win32: use millisecond resolution in capture_loop, to smooth screen update a bit (500ms instead of 1000ms) svn path=/trunk/; revision=14059
2005-04-10Win32 only bugfix: as using TerminateProcess is the brute force way and ↵Ulf Lamping1-8/+68
sometimes clipped packets in the middle, now using a pipe called signal_pipe from the parent to the child for this. On unix we're using kill() for this, which simply signals the child, but this isn't available on win32. svn path=/trunk/; revision=14040
2005-03-28bugfixes: bring non real-time captures back to former behaviour, other minor ↵Ulf Lamping1-1/+1
fixes svn path=/trunk/; revision=13961
2005-03-28fix Solaris build (I've removed O_BINARY)Ulf Lamping1-4/+4
rename sync_mode to real_time_mode, as we using sync_mode all the time now, so the name is misleading svn path=/trunk/; revision=13956
2005-03-28remove capture_child flag from capture_opts as it's no longer requiredUlf Lamping1-2/+0
svn path=/trunk/; revision=13954
2005-03-28a lot more capture engine code cleanupUlf Lamping1-5/+0
most notably: - moved opening of safe_file to the capture child (capture_loop.c) - removed save_file_fd from capture_opts (no longer need to have it global) svn path=/trunk/; revision=13953
2005-03-28The "cf" field of a "capture_options" structure is a "void *" and, inGuy Harris1-1/+1
practice, it points to a "capture_file" structure; print it with "%p", not "%s". svn path=/trunk/; revision=13952
2005-03-28major capture engine rework: use two task model for EVERY capture modeUlf Lamping1-13/+46
rework of the -b command line parameter (for Ethereal and Tethereal) svn path=/trunk/; revision=13949
2005-02-27Move "get_natural_int()" and "get_positive_int()" from "capture_opts.c"Guy Harris1-44/+1
to "clopts_common.c", make them not static, and use them in "gtk/main.c". svn path=/trunk/; revision=13541
2005-02-24avoid capture stopping after just 1 packet in tethereal,Luis Ontanon1-1/+1
- in capture_opts_init() set capture_opts->autostop_packets to 0 instead of one. svn path=/trunk/; revision=13500
2005-02-24Include <string.h> and <ctype.h> to get the appropriate functionsGuy Harris1-2/+5
declared and macros defined. Pass all the necessary arguments to "get_natural_int()". svn path=/trunk/; revision=13490
2005-02-23pass child capture filename to parent process (name currently unused) and ↵Ulf Lamping1-0/+2
some fork_child cleanup svn path=/trunk/; revision=13482
2005-02-23use the applications name (currently "ethereal" or "tethereal") in ↵Ulf Lamping1-28/+28
capture_opts, instead of hardcoded "ethereal" for both. svn path=/trunk/; revision=13476
2005-02-23move capture_opts related things (init, command line, ...) from capture.c to ↵Ulf Lamping1-0/+318
a new file capture_opts.c and let both ethereal and tethereal use it. svn path=/trunk/; revision=13474