diff options
author | Stig Bjørlykke <stig@bjorlykke.org> | 2010-02-02 16:01:52 +0000 |
---|---|---|
committer | Stig Bjørlykke <stig@bjorlykke.org> | 2010-02-02 16:01:52 +0000 |
commit | 88b72356adcf886a2381572c758d4d4f881ba559 (patch) | |
tree | e7f51edf88c97e06325053a1bb28b7768e940a44 /epan/dissectors/packet-ip.c | |
parent | 6dfde6891119b45e7ae543c4601ba69d5b833127 (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.c | 8 |
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, |