diff options
author | Stig Bjørlykke <stig@bjorlykke.org> | 2010-02-02 16:01:52 +0000 |
---|---|---|
committer | Stig Bjørlykke <stig@bjorlykke.org> | 2010-02-02 16:01:52 +0000 |
commit | 88b72356adcf886a2381572c758d4d4f881ba559 (patch) | |
tree | e7f51edf88c97e06325053a1bb28b7768e940a44 /epan/dissectors/packet-atalk.c | |
parent | 6dfde6891119b45e7ae543c4601ba69d5b833127 (diff) |
Introduce "Reassembled length" filter element for all protocols doing
reassembly.
svn path=/trunk/; revision=31767
Diffstat (limited to 'epan/dissectors/packet-atalk.c')
-rw-r--r-- | epan/dissectors/packet-atalk.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/epan/dissectors/packet-atalk.c b/epan/dissectors/packet-atalk.c index 3c6205050e..dbb37a1966 100644 --- a/epan/dissectors/packet-atalk.c +++ b/epan/dissectors/packet-atalk.c @@ -132,6 +132,7 @@ static int hf_atp_segment_multiple_tails = -1; static int hf_atp_segment_too_long_segment = -1; static int hf_atp_segment_error = -1; static int hf_atp_reassembled_in = -1; +static int hf_atp_reassembled_length = -1; /* ------------------------- */ static int proto_zip = -1; @@ -348,6 +349,7 @@ static const fragment_items atp_frag_items = { &hf_atp_segment_too_long_segment, &hf_atp_segment_error, &hf_atp_reassembled_in, + &hf_atp_reassembled_length, "segments" }; @@ -2093,7 +2095,11 @@ proto_register_atalk(void) { &hf_atp_reassembled_in, { "Reassembled ATP in frame", "atp.reassembled_in", FT_FRAMENUM, BASE_NONE, NULL, 0x0, - "This ATP packet is reassembled in this frame", HFILL }} + "This ATP packet is reassembled in this frame", HFILL }}, + + { &hf_atp_reassembled_length, + { "Reassembled ATP length", "atp.reassembled_length", FT_FRAMENUM, BASE_NONE, NULL, 0x0, + "The total length of the reassembled payload", HFILL }} }; static hf_register_info hf_asp[] = { |