From 6f5fdc0dd1ff4eca1d4c08ab0a1192db9e844a5a Mon Sep 17 00:00:00 2001 From: stig Date: Tue, 2 Feb 2010 16:01:52 +0000 Subject: 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 --- epan/dissectors/packet-dtn.c | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'epan/dissectors/packet-dtn.c') diff --git a/epan/dissectors/packet-dtn.c b/epan/dissectors/packet-dtn.c index e64be30ec2..c4c0a904f6 100644 --- a/epan/dissectors/packet-dtn.c +++ b/epan/dissectors/packet-dtn.c @@ -103,6 +103,7 @@ static int hf_msg_fragment_multiple_tails = -1; static int hf_msg_fragment_too_long_fragment = -1; static int hf_msg_fragment_error = -1; static int hf_msg_reassembled_in = -1; +static int hf_msg_reassembled_length = -1; /* Primary Header Processing Flag Variables */ static guint8 pri_hdr_procflags; /*This is global to allow processing Payload Header*/ @@ -258,6 +259,8 @@ static const fragment_items msg_frag_items = { &hf_msg_fragment_error, /*Reassembled in field*/ &hf_msg_reassembled_in, + /*Reassembled length field*/ + &hf_msg_reassembled_length, /*Tag*/ "Message fragments" }; @@ -2235,6 +2238,10 @@ proto_register_bundle(void) {"Reassembled in", "bundle.msg.reassembled.in", FT_FRAMENUM, BASE_NONE, NULL, 0x0, NULL, HFILL} }, + {&hf_msg_reassembled_length, + {"Reassembled length", "bundle.msg.reassembled.length", + FT_UINT32, BASE_DEC, NULL, 0x0, NULL, HFILL} + }, {&hf_bundle_procflags, {"Primary Header Processing Flags", "bundle.primary.proc.flag", FT_UINT8, BASE_HEX, NULL, 0x0, NULL, HFILL} -- cgit v1.2.3