diff options
author | Stig Bjørlykke <stig@bjorlykke.org> | 2011-01-30 21:01:07 +0000 |
---|---|---|
committer | Stig Bjørlykke <stig@bjorlykke.org> | 2011-01-30 21:01:07 +0000 |
commit | 84bc28bd6abc416b3ef2762157d957ee58bb8791 (patch) | |
tree | 4527262549f59bbfdbf71a9be3674b9724ec510e /epan/dissectors/packet-dcm.c | |
parent | 7a16aeaf058e50c0247570727fd498a505a3cdbe (diff) |
Introduce "Fragment count" filter element for all protocols doing reassembly.
svn path=/trunk/; revision=35705
Diffstat (limited to 'epan/dissectors/packet-dcm.c')
-rw-r--r-- | epan/dissectors/packet-dcm.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/epan/dissectors/packet-dcm.c b/epan/dissectors/packet-dcm.c index 0ab797a9aa..6a8a2ac8bc 100644 --- a/epan/dissectors/packet-dcm.c +++ b/epan/dissectors/packet-dcm.c @@ -353,6 +353,7 @@ static int hf_dcm_pdv_fragment_overlap_conflicts = -1; static int hf_dcm_pdv_fragment_multiple_tails = -1; static int hf_dcm_pdv_fragment_too_long_fragment = -1; static int hf_dcm_pdv_fragment_error = -1; +static int hf_dcm_pdv_fragment_count = -1; static int hf_dcm_pdv_reassembled_in = -1; static int hf_dcm_pdv_reassembled_length = -1; @@ -368,6 +369,7 @@ static const fragment_items dcm_pdv_fragment_items = { &hf_dcm_pdv_fragment_multiple_tails, &hf_dcm_pdv_fragment_too_long_fragment, &hf_dcm_pdv_fragment_error, + &hf_dcm_pdv_fragment_count, &hf_dcm_pdv_reassembled_in, &hf_dcm_pdv_reassembled_length, /* Tag */ @@ -6770,6 +6772,9 @@ proto_register_dcm(void) { &hf_dcm_pdv_fragment_error, { "Message defragmentation error", "dicom.pdv.fragment.error", FT_FRAMENUM, BASE_NONE, NULL, 0x00, NULL, HFILL } }, + { &hf_dcm_pdv_fragment_count, + { "Message fragment count", "dicom.pdv.fragment_count", + FT_UINT32, BASE_DEC, NULL, 0x00, NULL, HFILL } }, { &hf_dcm_pdv_reassembled_in, { "Reassembled in", "dicom.pdv.reassembled.in", FT_FRAMENUM, BASE_NONE, NULL, 0x00, NULL, HFILL } }, |