aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-ndmp.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-ndmp.c
parent7a16aeaf058e50c0247570727fd498a505a3cdbe (diff)
Introduce "Fragment count" filter element for all protocols doing reassembly.
svn path=/trunk/; revision=35705
Diffstat (limited to 'epan/dissectors/packet-ndmp.c')
-rw-r--r--epan/dissectors/packet-ndmp.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/epan/dissectors/packet-ndmp.c b/epan/dissectors/packet-ndmp.c
index bbb02e4bd9..b021dd7a7c 100644
--- a/epan/dissectors/packet-ndmp.c
+++ b/epan/dissectors/packet-ndmp.c
@@ -238,6 +238,7 @@ static int hf_ndmp_fragment_overlap_conflicts = -1;
static int hf_ndmp_fragment_multiple_tails = -1;
static int hf_ndmp_fragment_too_long_fragment = -1;
static int hf_ndmp_fragment_error = -1;
+static int hf_ndmp_fragment_count = -1;
static int hf_ndmp_reassembled_in = -1;
static int hf_ndmp_reassembled_length = -1;
@@ -274,6 +275,7 @@ static const fragment_items ndmp_frag_items = {
&hf_ndmp_fragment_multiple_tails,
&hf_ndmp_fragment_too_long_fragment,
&hf_ndmp_fragment_error,
+ &hf_ndmp_fragment_count,
/* Reassembled in field */
&hf_ndmp_reassembled_in,
/* Reassembled length field */
@@ -4265,6 +4267,9 @@ proto_register_ndmp(void)
{&hf_ndmp_fragment_error,
{"NDMP defragmentation error", "ndmp.fragment.error",
FT_FRAMENUM, BASE_NONE, NULL, 0x00, NULL, HFILL } },
+ {&hf_ndmp_fragment_count,
+ {"NDMP fragment count", "ndmp.fragment.count",
+ FT_UINT32, BASE_DEC, NULL, 0x00, NULL, HFILL } },
{&hf_ndmp_reassembled_in,
{"Reassembled in", "ndmp.reassembled.in",
FT_FRAMENUM, BASE_NONE, NULL, 0x00, NULL, HFILL } },