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 /asn1/idmp/packet-idmp-template.c | |
parent | 7a16aeaf058e50c0247570727fd498a505a3cdbe (diff) | |
download | wireshark-84bc28bd6abc416b3ef2762157d957ee58bb8791.tar.gz wireshark-84bc28bd6abc416b3ef2762157d957ee58bb8791.tar.bz2 wireshark-84bc28bd6abc416b3ef2762157d957ee58bb8791.zip |
Introduce "Fragment count" filter element for all protocols doing reassembly.
svn path=/trunk/; revision=35705
Diffstat (limited to 'asn1/idmp/packet-idmp-template.c')
-rw-r--r-- | asn1/idmp/packet-idmp-template.c | 5 |
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 } }, |