diff options
author | Roland Knall <rknall@gmail.com> | 2019-11-03 17:12:12 +0000 |
---|---|---|
committer | Peter Wu <peter@lekensteyn.nl> | 2019-11-04 11:39:48 +0000 |
commit | 013e87a8fda9ca37a5786498423070068aed9b6d (patch) | |
tree | 03d041cc94770e01d46335da9f689f3b265a3fa5 /docbook/wsdg_src | |
parent | 05e37a386ee68a0decd48c03f4aad39ead6bc341 (diff) |
Qt: Remove DisplayFilterMimeData
Make the mimetype for the display filter more generic, so that external
programs can attach to Wireshark and users can drag and drop display
filters to the program
Change-Id: Id78b4dff7883e3dab879a31aad07f577d8cc4ee3
Reviewed-on: https://code.wireshark.org/review/34936
Reviewed-by: Roland Knall <rknall@gmail.com>
Petri-Dish: Roland Knall <rknall@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Peter Wu <peter@lekensteyn.nl>
Diffstat (limited to 'docbook/wsdg_src')
-rw-r--r-- | docbook/wsdg_src/WSDG_chapter_sources.adoc | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/docbook/wsdg_src/WSDG_chapter_sources.adoc b/docbook/wsdg_src/WSDG_chapter_sources.adoc index 80c121b205..5a82d337e5 100644 --- a/docbook/wsdg_src/WSDG_chapter_sources.adoc +++ b/docbook/wsdg_src/WSDG_chapter_sources.adoc @@ -1381,6 +1381,23 @@ Wireshark uses various mime-types for dragging dropping as well as file formats. This chapter gives an overview over all the mimetypes being used, as well as the data format in which data has to be provided for each individual mimetype. +If not otherwise stated, the data is encoded as a Json Object. + +==== Display Filter + +**MimeType**: application/vnd.wireshark.displayfilter + +Display filters are being dragged and dropped by utilizing this mime type. + +[source,json] +---- +{ + "filter": "udp.port == 8080", + "field": "udp.port", + "description": "UDP Port" +} +---- + ==== Coloring Rules **MimeType**: application/vnd.wireshark.coloringrules |