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-smb.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-smb.c')
-rw-r--r-- | epan/dissectors/packet-smb.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/epan/dissectors/packet-smb.c b/epan/dissectors/packet-smb.c index 2f1c25bb74..f0173a710a 100644 --- a/epan/dissectors/packet-smb.c +++ b/epan/dissectors/packet-smb.c @@ -645,6 +645,7 @@ static int hf_smb_segment_overlap_conflict = -1; static int hf_smb_segment_multiple_tails = -1; static int hf_smb_segment_too_long_fragment = -1; static int hf_smb_segment_error = -1; +static int hf_smb_segment_count = -1; static int hf_smb_reassembled_length = -1; static int hf_smb_pipe_write_len = -1; static int hf_smb_unix_major_version = -1; @@ -786,6 +787,7 @@ static const fragment_items smb_frag_items = { &hf_smb_segment_multiple_tails, &hf_smb_segment_too_long_fragment, &hf_smb_segment_error, + &hf_smb_segment_count, NULL, &hf_smb_reassembled_length, "segments" @@ -19579,6 +19581,10 @@ proto_register_smb(void) { "Defragmentation error", "smb.segment.error", FT_FRAMENUM, BASE_NONE, NULL, 0x0, "Defragmentation error due to illegal fragments", HFILL }}, + { &hf_smb_segment_count, + { "Fragment count", "smb.fragment.count", FT_UINT32, BASE_DEC, NULL, 0x0, + NULL, HFILL }}, + { &hf_smb_reassembled_length, { "Reassembled SMB length", "smb.reassembled.length", FT_UINT32, BASE_DEC, NULL, 0x0, "The total length of the reassembled payload", HFILL }}, |