aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-h223.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-h223.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-h223.c')
-rw-r--r--epan/dissectors/packet-h223.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/epan/dissectors/packet-h223.c b/epan/dissectors/packet-h223.c
index 856829f546..bc7beff0ad 100644
--- a/epan/dissectors/packet-h223.c
+++ b/epan/dissectors/packet-h223.c
@@ -80,6 +80,7 @@ static int hf_h223_mux_fragment_multiple_tails = -1;
static int hf_h223_mux_fragment_too_long_fragment = -1;
static int hf_h223_mux_fragment_error = -1;
static int hf_h223_mux_reassembled_in = -1;
+static int hf_h223_mux_reassembled_length = -1;
static int hf_h223_al_fragments = -1;
static int hf_h223_al_fragment = -1;
@@ -89,6 +90,7 @@ static int hf_h223_al_fragment_multiple_tails = -1;
static int hf_h223_al_fragment_too_long_fragment = -1;
static int hf_h223_al_fragment_error = -1;
static int hf_h223_al_reassembled_in = -1;
+static int hf_h223_al_reassembled_length = -1;
static int hf_h223_al1 = -1;
static int hf_h223_al1_framed = -1;
@@ -133,6 +135,7 @@ static const fragment_items h223_mux_frag_items _U_ = {
&hf_h223_mux_fragment_too_long_fragment,
&hf_h223_mux_fragment_error,
&hf_h223_mux_reassembled_in,
+ &hf_h223_mux_reassembled_length,
"fragments"
};
@@ -147,6 +150,7 @@ static const fragment_items h223_al_frag_items = {
&hf_h223_al_fragment_too_long_fragment,
&hf_h223_al_fragment_error,
&hf_h223_al_reassembled_in,
+ &hf_h223_al_reassembled_length,
"fragments"
};
@@ -1448,6 +1452,10 @@ void proto_register_h223 (void)
{ "MUX-PDU fragment, reassembled in frame", "h223.mux.reassembled_in", FT_FRAMENUM, BASE_NONE, NULL, 0x0,
"This H.223 MUX-PDU packet is reassembled in this frame", HFILL }},
+ { &hf_h223_mux_reassembled_length,
+ { "Reassembled length", "h223.mux.reassembled_length", FT_UINT32, BASE_DEC, NULL, 0x0,
+ "The total length of the reassembled payload", HFILL }},
+
/* fields for h.223-al fragments */
{ &hf_h223_al_fragment_overlap,
{ "Fragment overlap", "h223.al.fragment.overlap", FT_BOOLEAN, BASE_NONE, NULL, 0x0,
@@ -1481,6 +1489,10 @@ void proto_register_h223 (void)
{ "AL-PDU fragment, reassembled in frame", "h223.al.reassembled_in", FT_FRAMENUM, BASE_NONE, NULL, 0x0,
"This H.223 AL-PDU packet is reassembled in this frame", HFILL }},
+ { &hf_h223_al_reassembled_length,
+ { "Reassembled length", "h223.al.reassembled_length", FT_UINT32, BASE_DEC, NULL, 0x0,
+ "The total length of the reassembled payload", HFILL }},
+
/* h223-als */
{ &hf_h223_al1,