summaryrefslogtreecommitdiff
path: root/asn1/idmp
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 /asn1/idmp
parent7a16aeaf058e50c0247570727fd498a505a3cdbe (diff)
downloadwireshark-84bc28bd6abc416b3ef2762157d957ee58bb8791.tar.gz
Introduce "Fragment count" filter element for all protocols doing reassembly.
svn path=/trunk/; revision=35705
Diffstat (limited to 'asn1/idmp')
-rw-r--r--asn1/idmp/packet-idmp-template.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/asn1/idmp/packet-idmp-template.c b/asn1/idmp/packet-idmp-template.c
index 877c1559b5..3c9b98b46a 100644
--- a/asn1/idmp/packet-idmp-template.c
+++ b/asn1/idmp/packet-idmp-template.c
@@ -79,6 +79,7 @@ static int hf_idmp_fragment_overlap_conflicts = -1;
static int hf_idmp_fragment_multiple_tails = -1;
static int hf_idmp_fragment_too_long_fragment = -1;
static int hf_idmp_fragment_error = -1;
+static int hf_idmp_fragment_count = -1;
static int hf_idmp_reassembled_in = -1;
static int hf_idmp_reassembled_length = -1;
@@ -97,6 +98,7 @@ static const fragment_items idmp_frag_items = {
&hf_idmp_fragment_multiple_tails,
&hf_idmp_fragment_too_long_fragment,
&hf_idmp_fragment_error,
+ &hf_idmp_fragment_count,
/* Reassembled in field */
&hf_idmp_reassembled_in,
/* Reassembled length field */
@@ -308,6 +310,9 @@ void proto_register_idmp(void) {
{ &hf_idmp_fragment_error,
{ "IDMP defragmentation error", "idmp.fragment.error", FT_FRAMENUM,
BASE_NONE, NULL, 0x00, NULL, HFILL } },
+ { &hf_idmp_fragment_count,
+ { "IDMP fragment count", "idmp.fragment.count", FT_UINT32, BASE_DEC,
+ NULL, 0x00, NULL, HFILL } },
{ &hf_idmp_reassembled_in,
{ "Reassembled IDMP in frame", "idmp.reassembled.in", FT_FRAMENUM, BASE_NONE,
NULL, 0x00, "This IDMP packet is reassembled in this frame", HFILL } },