diff options
author | guy <guy@f5534014-38df-0310-8fa8-9805f1628bb7> | 2010-05-07 01:22:33 +0000 |
---|---|---|
committer | guy <guy@f5534014-38df-0310-8fa8-9805f1628bb7> | 2010-05-07 01:22:33 +0000 |
commit | a7fedbfcbc4e128ec06fd698f95f21a041b14bb3 (patch) | |
tree | f3c93b3054bcbdf37ad3fdc29cedbc9832bdb956 /capture_opts.h | |
parent | c3564864c66709afebc8c2728e796e6e9a5fbebb (diff) |
Beginnings of monitor mode support with libpcap 1.x.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@32702 f5534014-38df-0310-8fa8-9805f1628bb7
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 */ |