diff options
author | Gerald Combs <gerald@wireshark.org> | 2015-02-23 17:56:14 -0800 |
---|---|---|
committer | Gerald Combs <gerald@wireshark.org> | 2015-03-05 16:45:04 +0000 |
commit | f2b35a180f12575bcd4198add4a6478b4ce41802 (patch) | |
tree | a14fcab1ca616169b1649f8192250bf0f9925130 /epan/proto.h | |
parent | a065fefe689a1c839fc74e5b253212f0efddfced (diff) |
Qt: Add extra related packet indicator types.
Add the ability to set frame number types: none, request, or response.
Use the types to draw different related packet indicators in the packet
list.
Track the conversation in PacketListRecord. Use it to draw dashed lines
for unrelated frames.
Set frame number types for DNS and ICMP.
Instead of drawing a transparent QImage, alpha blend our foreground
color and draw directly in our painter. Blend more toward the foreground
color.
Add FRAMENUM_TYPE to checkAPIs.
Change-Id: I2495945bb436413e05d6ec697184a0b4fd5ad214
Reviewed-on: https://code.wireshark.org/review/7436
Reviewed-by: Gerald Combs <gerald@wireshark.org>
Diffstat (limited to 'epan/proto.h')
-rw-r--r-- | epan/proto.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/epan/proto.h b/epan/proto.h index 5f47b53fb0..f62a1a904f 100644 --- a/epan/proto.h +++ b/epan/proto.h @@ -98,6 +98,9 @@ typedef void (*custom_fmt_func_64_t)(gchar *, guint64); * header_field_info.strings */ #define RVALS(x) (const struct _range_string*)(x) +/** Cast a ft_framenum_type_t, used to set header_field_info.strings */ +#define FRAMENUM_TYPE(x) GINT_TO_POINTER(x) + struct _protocol; /** Structure for information about a protocol */ |