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-tipc.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-tipc.c')
-rw-r--r-- | epan/dissectors/packet-tipc.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/epan/dissectors/packet-tipc.c b/epan/dissectors/packet-tipc.c index 9e91415d5d..de9e29b768 100644 --- a/epan/dissectors/packet-tipc.c +++ b/epan/dissectors/packet-tipc.c @@ -61,6 +61,7 @@ static int hf_tipc_msg_fragment_overlap_conflicts = -1; static int hf_tipc_msg_fragment_multiple_tails = -1; static int hf_tipc_msg_fragment_too_long_fragment = -1; static int hf_tipc_msg_fragment_error = -1; +static int hf_tipc_msg_fragment_count = -1; static int hf_tipc_msg_reassembled_in = -1; static int hf_tipc_msg_reassembled_length = -1; @@ -214,6 +215,7 @@ static const fragment_items tipc_msg_frag_items = { &hf_tipc_msg_fragment_multiple_tails, &hf_tipc_msg_fragment_too_long_fragment, &hf_tipc_msg_fragment_error, + &hf_tipc_msg_fragment_count, /* Reassembled in field */ &hf_tipc_msg_reassembled_in, /* Reassembled length field */ @@ -2326,6 +2328,10 @@ proto_register_tipc(void) { "Message defragmentation error", "tipc.msg.fragment.error", FT_FRAMENUM, BASE_NONE, NULL, 0x00, NULL, HFILL } }, + { &hf_tipc_msg_fragment_count, + { "Message fragment count", "tipc.msg.fragment.count", + FT_UINT32, BASE_DEC, NULL, 0x00, NULL, HFILL } + }, { &hf_tipc_msg_reassembled_in, { "Reassembled in", "tipc.msg.reassembled.in", FT_FRAMENUM, BASE_NONE, NULL, 0x00, NULL, HFILL } |