diff options
author | Guy Harris <guy@alum.mit.edu> | 2002-01-10 11:05:50 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2002-01-10 11:05:50 +0000 |
commit | b3f81eb30c175bb4aeabb2a780c1914222ccb5be (patch) | |
tree | a5f7774c2c5e05f8cfe36d17bb0bd014a57d52f4 /capture.h | |
parent | d663cdb4a1a478d23bd92e8143ddd84df61bd553 (diff) |
Separate the promiscuous mode, "Update list of packets in real time",
and "Automatic scrolling in live capture" options from the preference
settings for them, so that the preference settings affect the initial
values of those options, but changing those values in a capture don't
affect the preferences, and don't automatically get saved when you save
the preferences.
If we're building without libpcap, don't have an "Automatic scrolling in
live capture" option anywhere.
svn path=/trunk/; revision=4514
Diffstat (limited to 'capture.h')
-rw-r--r-- | capture.h | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -1,7 +1,7 @@ /* capture.h * Definitions for packet capture windows * - * $Id: capture.h,v 1.27 2002/01/08 09:32:14 guy Exp $ + * $Id: capture.h,v 1.28 2002/01/10 11:05:48 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@zing.org> @@ -31,6 +31,8 @@ /* Name we give to the child process when doing a "-S" capture. */ #define CHILD_NAME "ethereal-capture" +extern int promisc_mode; /* capture in promiscuous mode */ +extern int sync_mode; /* fork a child to do the capture, and sync between them */ extern int sync_pipe[2]; /* used to sync father */ extern int quit_after_cap; /* Makes a "capture only mode". Implies -k */ extern gboolean capture_child; /* if this is the child for "-S" */ |