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-btobex.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-btobex.c')
-rw-r--r-- | epan/dissectors/packet-btobex.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/epan/dissectors/packet-btobex.c b/epan/dissectors/packet-btobex.c index 0c6d285161..57a1d8dfa3 100644 --- a/epan/dissectors/packet-btobex.c +++ b/epan/dissectors/packet-btobex.c @@ -67,6 +67,7 @@ static int hf_btobex_fragment_overlap_conflict = -1; static int hf_btobex_fragment_multiple_tails = -1; static int hf_btobex_fragment_too_long_fragment = -1; static int hf_btobex_fragment_error = -1; +static int hf_btobex_fragment_count = -1; static int hf_btobex_reassembled_in = -1; static int hf_btobex_reassembled_length = -1; static gint ett_btobex_fragment = -1; @@ -85,6 +86,7 @@ static const fragment_items btobex_frag_items = { &hf_btobex_fragment_multiple_tails, &hf_btobex_fragment_too_long_fragment, &hf_btobex_fragment_error, + &hf_btobex_fragment_count, &hf_btobex_reassembled_in, &hf_btobex_reassembled_length, "fragments" @@ -677,6 +679,10 @@ proto_register_btobex(void) { "Defragmentation error", "btobex.fragment.error", FT_FRAMENUM, BASE_NONE, NULL, 0x0, "Defragmentation error due to illegal fragments", HFILL } }, + { &hf_btobex_fragment_count, + { "Fragment count", "btobex.fragment.count", FT_UINT32, BASE_DEC, NULL, 0x0, + NULL, HFILL } + }, { &hf_btobex_fragment, { "OBEX Fragment", "btobex.fragment", FT_FRAMENUM, BASE_NONE, NULL, 0x0, "btobex Fragment", HFILL } |