diff options
author | stig <stig@f5534014-38df-0310-8fa8-9805f1628bb7> | 2010-02-02 16:01:52 +0000 |
---|---|---|
committer | stig <stig@f5534014-38df-0310-8fa8-9805f1628bb7> | 2010-02-02 16:01:52 +0000 |
commit | 6f5fdc0dd1ff4eca1d4c08ab0a1192db9e844a5a (patch) | |
tree | e7f51edf88c97e06325053a1bb28b7768e940a44 /epan/dissectors/packet-ositp.c | |
parent | 2b4a6b1503eb625e32cef67274e92ea5667bd26c (diff) |
Introduce "Reassembled length" filter element for all protocols doing
reassembly.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@31767 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/dissectors/packet-ositp.c')
-rw-r--r-- | epan/dissectors/packet-ositp.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/epan/dissectors/packet-ositp.c b/epan/dissectors/packet-ositp.c index 4b337d202c..d14643612b 100644 --- a/epan/dissectors/packet-ositp.c +++ b/epan/dissectors/packet-ositp.c @@ -77,6 +77,7 @@ static int hf_cotp_segment_multiple_tails = -1; static int hf_cotp_segment_too_long_segment = -1; static int hf_cotp_segment_error = -1; static int hf_cotp_reassembled_in = -1; +static int hf_cotp_reassembled_length = -1; static const true_false_string fragment_descriptions = { "Yes", @@ -100,6 +101,7 @@ static const fragment_items cotp_frag_items = { &hf_cotp_segment_too_long_segment, &hf_cotp_segment_error, &hf_cotp_reassembled_in, + &hf_cotp_reassembled_length, "segments" }; @@ -1799,6 +1801,9 @@ void proto_register_cotp(void) { &hf_cotp_reassembled_in, { "Reassembled COTP in frame", "cotp.reassembled_in", FT_FRAMENUM, BASE_NONE, NULL, 0x0, "This COTP packet is reassembled in this frame", HFILL }}, + { &hf_cotp_reassembled_length, + { "Reassembled COTP length", "cotp.reassembled_length", FT_UINT32, BASE_DEC, NULL, 0x0, + "The total length of the reassembled payload", HFILL }}, /* ISO DP 8073 i13.3.4(a) Source and destination TSAPs are defined as identifiers of unspecified type and length. Some implementations of COTP use printable strings, others use raw bytes. |