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-smtp.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-smtp.c')
-rw-r--r-- | epan/dissectors/packet-smtp.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/epan/dissectors/packet-smtp.c b/epan/dissectors/packet-smtp.c index 000e6f278d..cf2f3360b5 100644 --- a/epan/dissectors/packet-smtp.c +++ b/epan/dissectors/packet-smtp.c @@ -61,6 +61,7 @@ static int hf_smtp_data_fragment_overlap_conflicts = -1; static int hf_smtp_data_fragment_multiple_tails = -1; static int hf_smtp_data_fragment_too_long_fragment = -1; static int hf_smtp_data_fragment_error = -1; +static int hf_smtp_data_fragment_count = -1; static int hf_smtp_data_reassembled_in = -1; static int hf_smtp_data_reassembled_length = -1; @@ -89,6 +90,7 @@ static const fragment_items smtp_data_frag_items = { &hf_smtp_data_fragment_multiple_tails, &hf_smtp_data_fragment_too_long_fragment, &hf_smtp_data_fragment_error, + &hf_smtp_data_fragment_count, /* Reassembled in field */ &hf_smtp_data_reassembled_in, /* Reassembled length field */ @@ -909,6 +911,10 @@ proto_register_smtp(void) { "DATA defragmentation error", "smtp.data.fragment.error", FT_FRAMENUM, BASE_NONE, NULL, 0x00, "Message defragmentation error", HFILL } }, + { &hf_smtp_data_fragment_count, + { "DATA fragment count", "smtp.data.fragment.count", + FT_UINT32, BASE_DEC, NULL, 0x00, NULL, HFILL } }, + { &hf_smtp_data_reassembled_in, { "Reassembled DATA in frame", "smtp.data.reassembled.in", FT_FRAMENUM, BASE_NONE, NULL, 0x00, "This DATA fragment is reassembled in this frame", HFILL } }, |