aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-rtp.c
diff options
context:
space:
mode:
authorstig <stig@f5534014-38df-0310-8fa8-9805f1628bb7>2010-02-02 16:01:52 +0000
committerstig <stig@f5534014-38df-0310-8fa8-9805f1628bb7>2010-02-02 16:01:52 +0000
commit6f5fdc0dd1ff4eca1d4c08ab0a1192db9e844a5a (patch)
treee7f51edf88c97e06325053a1bb28b7768e940a44 /epan/dissectors/packet-rtp.c
parent2b4a6b1503eb625e32cef67274e92ea5667bd26c (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-rtp.c')
-rw-r--r--epan/dissectors/packet-rtp.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/epan/dissectors/packet-rtp.c b/epan/dissectors/packet-rtp.c
index ca7225ae15..173ea41e1c 100644
--- a/epan/dissectors/packet-rtp.c
+++ b/epan/dissectors/packet-rtp.c
@@ -114,6 +114,7 @@ static int hf_rtp_fragment_multiple_tails = -1;
static int hf_rtp_fragment_too_long_fragment = -1;
static int hf_rtp_fragment_error = -1;
static int hf_rtp_reassembled_in = -1;
+static int hf_rtp_reassembled_length = -1;
static gint ett_rtp_fragment = -1;
static gint ett_rtp_fragments = -1;
@@ -129,6 +130,7 @@ static const fragment_items rtp_fragment_items = {
&hf_rtp_fragment_too_long_fragment,
&hf_rtp_fragment_error,
&hf_rtp_reassembled_in,
+ &hf_rtp_reassembled_length,
"RTP fragments"
};
@@ -1920,6 +1922,11 @@ proto_register_rtp(void)
FT_FRAMENUM, BASE_NONE, NULL, 0x0,
"This RTP packet is reassembled in this frame", HFILL }
},
+ {&hf_rtp_reassembled_length,
+ {"Reassembled RTP length", "rtp.reassembled_length",
+ FT_UINT32, BASE_DEC, NULL, 0x0,
+ "The total length of the reassembled payload", HFILL }
+ },
{&hf_srtp_encrypted_payload,
{"SRTP Encrypted Payload", "srtp.enc_payload",
FT_BYTES, BASE_NONE, NULL, 0x0,