aboutsummaryrefslogtreecommitdiffstats
path: root/capture_opts.h
diff options
context:
space:
mode:
authortuexen <tuexen@f5534014-38df-0310-8fa8-9805f1628bb7>2011-05-16 15:19:54 +0000
committertuexen <tuexen@f5534014-38df-0310-8fa8-9805f1628bb7>2011-05-16 15:19:54 +0000
commita90df461b5f9d7dfbb424f2fc5c75bf46d1b6a79 (patch)
tree65681ace531fe885a29a7f4fa2eb0b8bf49b31a3 /capture_opts.h
parentf5d361f495567a9860e7d506a9545f070e0f7f3b (diff)
Make remote capturing settings a per interface thing. You can now
configure that you want to capture on multiple remote interfaces on mulitple hosts. Improve some #ifdef mess in dumpcap. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@37178 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'capture_opts.h')
-rw-r--r--capture_opts.h13
1 files changed, 12 insertions, 1 deletions
diff --git a/capture_opts.h b/capture_opts.h
index f67632169d..8eda37b2b2 100644
--- a/capture_opts.h
+++ b/capture_opts.h
@@ -84,6 +84,17 @@ typedef struct interface_options_tag {
int buffer_size;
#endif
gboolean monitor_mode;
+#ifdef HAVE_PCAP_REMOTE
+ capture_source src_type;
+ gchar *remote_host;
+ gchar *remote_port;
+ capture_auth auth_type;
+ gchar *auth_username;
+ gchar *auth_password;
+ gboolean datatx_udp;
+ gboolean nocap_rpcap;
+ gboolean nocap_local;
+#endif
#ifdef HAVE_PCAP_SETSAMPLING
capture_sampling sampling_method;
int sampling_param;
@@ -115,7 +126,7 @@ typedef struct capture_options_tag {
interface_options default_options;
#ifdef HAVE_PCAP_REMOTE
/**< XXX: Should this whole block moved to
- *< interface_options ?*/
+ *< interface_options ? Yes!*/
capture_source src_type; /**< Capturing on remote interface */
gchar *remote_host; /**< Host name or network address
*< for remote capturing */