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-teamspeak2.c | |
parent | 7a16aeaf058e50c0247570727fd498a505a3cdbe (diff) | |
download | wireshark-84bc28bd6abc416b3ef2762157d957ee58bb8791.tar.gz |
Introduce "Fragment count" filter element for all protocols doing reassembly.
svn path=/trunk/; revision=35705
Diffstat (limited to 'epan/dissectors/packet-teamspeak2.c')
-rw-r--r-- | epan/dissectors/packet-teamspeak2.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/epan/dissectors/packet-teamspeak2.c b/epan/dissectors/packet-teamspeak2.c index f3e05c6c2d..8873becac4 100644 --- a/epan/dissectors/packet-teamspeak2.c +++ b/epan/dissectors/packet-teamspeak2.c @@ -114,6 +114,7 @@ static int hf_msg_fragment_overlap_conflicts = -1; static int hf_msg_fragment_multiple_tails = -1; static int hf_msg_fragment_too_long_fragment = -1; static int hf_msg_fragment_error = -1; +static int hf_msg_fragment_count = -1; static int hf_msg_reassembled_in = -1; static int hf_msg_reassembled_length = -1; @@ -132,6 +133,7 @@ static const fragment_items msg_frag_items = { &hf_msg_fragment_multiple_tails, &hf_msg_fragment_too_long_fragment, &hf_msg_fragment_error, + &hf_msg_fragment_count, /* Reassembled in field */ &hf_msg_reassembled_in, /* Reassembled length field */ @@ -1136,6 +1138,12 @@ void proto_register_ts2(void) NULL, 0x00, NULL, HFILL } }, + { &hf_msg_fragment_count, + {"Message fragment count", "ts2.fragment.count", + FT_UINT32, BASE_DEC, + NULL, 0x00, + NULL, HFILL } + }, { &hf_msg_reassembled_in, {"Reassembled in", "ts2.reassembled.in", FT_FRAMENUM, BASE_NONE, |