aboutsummaryrefslogtreecommitdiffstats
path: root/epan/prefs.h
diff options
context:
space:
mode:
authorGerald Combs <gerald@wireshark.org>2020-05-05 11:58:52 -0700
committerAnders Broman <a.broman58@gmail.com>2020-08-10 18:17:50 +0000
commit9b07412277b4436b30410bd07e9cb8ee0b88ddb2 (patch)
tree6f4a9b708fff97f17933720a7d2fb38a592fce4e /epan/prefs.h
parente846d238d7194188e211de7d7cacc531f388a183 (diff)
Qt: Add a packet diagram view.
Add a new top-level view that shows each packet as a series of diagrams similar to what you'd find in a networking textook or an RFC. Add proto_item_set_bits_offset_len so that we can display some diagram fields correctly. Bugs / to do: - Make this a separate dialog instead of a main window view? - Handle bitfields / flags Change-Id: Iba4897a5bf1dcd73929dde6210d5483cf07f54df Reviewed-on: https://code.wireshark.org/review/37497 Reviewed-by: Gerald Combs <gerald@wireshark.org> Petri-Dish: Gerald Combs <gerald@wireshark.org> Tested-by: Petri Dish Buildbot Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'epan/prefs.h')
-rw-r--r--epan/prefs.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/epan/prefs.h b/epan/prefs.h
index 8e15673d53..ac13d2b935 100644
--- a/epan/prefs.h
+++ b/epan/prefs.h
@@ -91,7 +91,8 @@ typedef enum {
layout_pane_content_none,
layout_pane_content_plist,
layout_pane_content_pdetails,
- layout_pane_content_pbytes
+ layout_pane_content_pbytes,
+ layout_pane_content_pdiagram,
} layout_pane_content_e;
/*