aboutsummaryrefslogtreecommitdiffstats
path: root/capture_sync.h
diff options
context:
space:
mode:
authorguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2010-05-13 17:37:39 +0000
committerguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2010-05-13 17:37:39 +0000
commit9e5388ff1f5ae33a39dcc1cf2c1616bc30200fa0 (patch)
tree29698446c6b8deeebed235c4337365c42d7d3f4a /capture_sync.h
parent299f76cdbac5a6adc30ce6610c6850b6210b265e (diff)
Fetch an indication of whether the interface supports capturing in
monitor mode at the same time that we fetch its list of link-layer types. Support fetching that list in monitor mode, as the list may be different in regular and monitor mode. If the interface supports monitor mode, when printing the list of link-layer types, indicate whether they're fetched in monitor mode or not, as tcpdump 4.1.x does. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@32789 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'capture_sync.h')
-rw-r--r--capture_sync.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/capture_sync.h b/capture_sync.h
index 26a6b7afe4..826c20d12d 100644
--- a/capture_sync.h
+++ b/capture_sync.h
@@ -67,9 +67,10 @@ sync_pipe_kill(int fork_child);
extern int
sync_interface_list_open(gchar **msg);
-/** Get a linktype list using dumpcap */
+/** Get interface capabilities using dumpcap */
extern int
-sync_linktype_list_open(const gchar *ifname, gchar **msg);
+sync_if_capabilities_open(const gchar *ifname, gboolean monitor_mode,
+ gchar **msg);
/** Start getting interface statistics using dumpcap. */
extern int