diff options
author | Guy Harris <guy@alum.mit.edu> | 2010-05-13 17:37:39 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2010-05-13 17:37:39 +0000 |
commit | 1c18115bd3e8a0b1a56ab8effcf5843240bde0c6 (patch) | |
tree | 29698446c6b8deeebed235c4337365c42d7d3f4a /capture_sync.h | |
parent | 951485bf355f1e9269bf62803190931618d7a047 (diff) | |
download | wireshark-1c18115bd3e8a0b1a56ab8effcf5843240bde0c6.tar.gz wireshark-1c18115bd3e8a0b1a56ab8effcf5843240bde0c6.tar.bz2 wireshark-1c18115bd3e8a0b1a56ab8effcf5843240bde0c6.zip |
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.
svn path=/trunk/; revision=32789
Diffstat (limited to 'capture_sync.h')
-rw-r--r-- | capture_sync.h | 5 |
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 |