aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-iax2.c
diff options
context:
space:
mode:
authorStig Bjørlykke <stig@bjorlykke.org>2010-02-02 16:01:52 +0000
committerStig Bjørlykke <stig@bjorlykke.org>2010-02-02 16:01:52 +0000
commit88b72356adcf886a2381572c758d4d4f881ba559 (patch)
treee7f51edf88c97e06325053a1bb28b7768e940a44 /epan/dissectors/packet-iax2.c
parent6dfde6891119b45e7ae543c4601ba69d5b833127 (diff)
Introduce "Reassembled length" filter element for all protocols doing
reassembly. svn path=/trunk/; revision=31767
Diffstat (limited to 'epan/dissectors/packet-iax2.c')
-rw-r--r--epan/dissectors/packet-iax2.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/epan/dissectors/packet-iax2.c b/epan/dissectors/packet-iax2.c
index 9661355071..9c64d3378c 100644
--- a/epan/dissectors/packet-iax2.c
+++ b/epan/dissectors/packet-iax2.c
@@ -129,6 +129,7 @@ static int hf_iax2_fragment_multiple_tails = -1;
static int hf_iax2_fragment_too_long_fragment = -1;
static int hf_iax2_fragment_error = -1;
static int hf_iax2_reassembled_in = -1;
+static int hf_iax2_reassembled_length = -1;
/* hf_iax2_ies is an array of header fields, one per potential Information
@@ -171,6 +172,7 @@ static const fragment_items iax2_fragment_items = {
&hf_iax2_fragment_too_long_fragment,
&hf_iax2_fragment_error,
&hf_iax2_reassembled_in,
+ &hf_iax2_reassembled_length,
"iax2 fragments"
};
@@ -2557,7 +2559,12 @@ proto_register_iax2 (void)
{&hf_iax2_reassembled_in,
{"IAX2 fragment, reassembled in frame", "iax2.reassembled_in",
FT_FRAMENUM, BASE_NONE, NULL, 0x0,
- "This IAX2 packet is reassembled in this frame", HFILL }}
+ "This IAX2 packet is reassembled in this frame", HFILL }},
+
+ {&hf_iax2_reassembled_length,
+ {"Reassembled length", "iax2.reassembled_length",
+ FT_UINT32, BASE_DEC, NULL, 0x0,
+ "The total length of the reassembled payload", HFILL }}
};
static gint *ett[] = {