aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-ip.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-ip.c
parent6dfde6891119b45e7ae543c4601ba69d5b833127 (diff)
Introduce "Reassembled length" filter element for all protocols doing
reassembly. svn path=/trunk/; revision=31767
Diffstat (limited to 'epan/dissectors/packet-ip.c')
-rw-r--r--epan/dissectors/packet-ip.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/epan/dissectors/packet-ip.c b/epan/dissectors/packet-ip.c
index a6d060c8ab..85061a509a 100644
--- a/epan/dissectors/packet-ip.c
+++ b/epan/dissectors/packet-ip.c
@@ -127,6 +127,7 @@ static int hf_ip_fragment_multiple_tails = -1;
static int hf_ip_fragment_too_long_fragment = -1;
static int hf_ip_fragment_error = -1;
static int hf_ip_reassembled_in = -1;
+static int hf_ip_reassembled_length = -1;
#ifdef HAVE_GEOIP
static int hf_geoip_country = -1;
@@ -180,6 +181,7 @@ static const fragment_items ip_frag_items = {
&hf_ip_fragment_too_long_fragment,
&hf_ip_fragment_error,
&hf_ip_reassembled_in,
+ &hf_ip_reassembled_length,
"IP fragments"
};
@@ -1945,7 +1947,11 @@ proto_register_ip(void)
{ &hf_ip_reassembled_in,
{ "Reassembled IP in frame", "ip.reassembled_in", FT_FRAMENUM, BASE_NONE, NULL, 0x0,
- "This IP packet is reassembled in this frame", HFILL }}
+ "This IP packet is reassembled in this frame", HFILL }},
+
+ { &hf_ip_reassembled_length,
+ { "Reassembled IP length", "ip.reassembled_length", FT_UINT32, BASE_DEC, NULL, 0x0,
+ "The total length of the reassembled payload", HFILL }}
};
static gint *ett[] = {
&ett_ip,