diff options
author | Guy Harris <guy@alum.mit.edu> | 2010-05-07 01:22:33 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2010-05-07 01:22:33 +0000 |
commit | 20cbf81d39b80cfc69651092d9079ee34eee3d45 (patch) | |
tree | f3c93b3054bcbdf37ad3fdc29cedbc9832bdb956 /capture_opts.h | |
parent | 4c5b8c52771700820d71f8e108e4aebc59971762 (diff) |
Beginnings of monitor mode support with libpcap 1.x.
svn path=/trunk/; revision=32702
Diffstat (limited to 'capture_opts.h')
-rw-r--r-- | capture_opts.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/capture_opts.h b/capture_opts.h index fa9bf6d641..d4bacb4f19 100644 --- a/capture_opts.h +++ b/capture_opts.h @@ -114,6 +114,9 @@ typedef struct capture_options_tag { gboolean promisc_mode; /**< Capture in promiscuous mode */ int linktype; /**< Data link type to use, or -1 for "use default" */ +#ifdef HAVE_PCAP_CREATE + gboolean monitor_mode; /**< Capture in monitor mode, if available */ +#endif gboolean saving_to_file; /**< TRUE if capture is writing to a file */ gchar *save_file; /**< the capture file name */ gboolean use_pcapng; /**< TRUE if file format is pcapng */ |