aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-wai.c
diff options
context:
space:
mode:
authorstig <stig@f5534014-38df-0310-8fa8-9805f1628bb7>2011-01-30 21:01:07 +0000
committerstig <stig@f5534014-38df-0310-8fa8-9805f1628bb7>2011-01-30 21:01:07 +0000
commit4c00668bad1c2ef7e75255ce829d9a4dfe645ce8 (patch)
tree4527262549f59bbfdbf71a9be3674b9724ec510e /epan/dissectors/packet-wai.c
parent76e5fa9b31b8cd25e685c12ee8acdc70f255989f (diff)
Introduce "Fragment count" filter element for all protocols doing reassembly.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@35705 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/dissectors/packet-wai.c')
-rw-r--r--epan/dissectors/packet-wai.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/epan/dissectors/packet-wai.c b/epan/dissectors/packet-wai.c
index 5f0f101851..3848315a26 100644
--- a/epan/dissectors/packet-wai.c
+++ b/epan/dissectors/packet-wai.c
@@ -137,6 +137,7 @@ static gint hf_wai_fragment_overlap_conflicts = -1;
static gint hf_wai_fragment_multiple_tails = -1;
static gint hf_wai_fragment_too_long_fragment = -1;
static gint hf_wai_fragment_error = -1;
+static gint hf_wai_fragment_count = -1;
static gint hf_wai_reassembled_in = -1;
static gint hf_wai_reassembled_length = -1;
@@ -176,6 +177,7 @@ static const fragment_items wai_frag_items = {
&hf_wai_fragment_multiple_tails,
&hf_wai_fragment_too_long_fragment,
&hf_wai_fragment_error,
+ &hf_wai_fragment_count,
/* Reassembled in field */
&hf_wai_reassembled_in,
/* Reassembled length field */
@@ -1138,6 +1140,9 @@ proto_register_wai(void)
{ &hf_wai_fragment_error,{"Message defragmentation error", "wai.fragment.error",FT_FRAMENUM, BASE_NONE, NULL,
0x00, NULL, HFILL }},
+ { &hf_wai_fragment_count,{"Message fragment count", "wai.fragment.count",FT_UINT32, BASE_DEC, NULL,
+ 0x00, NULL, HFILL }},
+
{ &hf_wai_reassembled_in,{"Reassembled in", "wai.reassembled.in",FT_FRAMENUM, BASE_NONE, NULL,
0x00, NULL, HFILL }},