aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-6lowpan.c
diff options
context:
space:
mode:
authorStig Bjørlykke <stig@bjorlykke.org>2011-01-30 21:01:07 +0000
committerStig Bjørlykke <stig@bjorlykke.org>2011-01-30 21:01:07 +0000
commit84bc28bd6abc416b3ef2762157d957ee58bb8791 (patch)
tree4527262549f59bbfdbf71a9be3674b9724ec510e /epan/dissectors/packet-6lowpan.c
parent7a16aeaf058e50c0247570727fd498a505a3cdbe (diff)
Introduce "Fragment count" filter element for all protocols doing reassembly.
svn path=/trunk/; revision=35705
Diffstat (limited to 'epan/dissectors/packet-6lowpan.c')
-rw-r--r--epan/dissectors/packet-6lowpan.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/epan/dissectors/packet-6lowpan.c b/epan/dissectors/packet-6lowpan.c
index 7cd4054bdb..9dd791e000 100644
--- a/epan/dissectors/packet-6lowpan.c
+++ b/epan/dissectors/packet-6lowpan.c
@@ -375,6 +375,7 @@ static int hf_6lowpan_fragment_overlap_conflicts = -1;
static int hf_6lowpan_fragment_multiple_tails = -1;
static int hf_6lowpan_fragment_too_long_fragment = -1;
static int hf_6lowpan_fragment_error = -1;
+static int hf_6lowpan_fragment_count = -1;
static int hf_6lowpan_reassembled_in = -1;
static int hf_6lowpan_reassembled_length = -1;
static gint ett_6lowpan_fragment = -1;
@@ -392,6 +393,7 @@ static const fragment_items lowpan_frag_items = {
&hf_6lowpan_fragment_multiple_tails,
&hf_6lowpan_fragment_too_long_fragment,
&hf_6lowpan_fragment_error,
+ &hf_6lowpan_fragment_count,
/* Reassembled in field */
&hf_6lowpan_reassembled_in,
/* Reassembled length field */
@@ -2345,6 +2347,8 @@ proto_register_6lowpan(void)
{ "Message fragment too long", "6lowpan.fragment.too_long_fragment", FT_BOOLEAN, BASE_NONE, NULL, 0x00, NULL, HFILL }},
{ &hf_6lowpan_fragment_error,
{ "Message defragmentation error", "6lowpan.fragment.error", FT_FRAMENUM, BASE_NONE, NULL, 0x00, NULL, HFILL }},
+ { &hf_6lowpan_fragment_count,
+ { "Message fragment count", "6lowpan.fragment.count",FT_UINT32, BASE_DEC, NULL, 0x00, NULL, HFILL }},
{ &hf_6lowpan_reassembled_in,
{ "Reassembled in", "6lowpan.reassembled.in",FT_FRAMENUM, BASE_NONE, NULL, 0x00, NULL, HFILL }},
{ &hf_6lowpan_reassembled_length,