aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-dtn.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-dtn.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-dtn.c')
-rw-r--r--epan/dissectors/packet-dtn.c7
1 files changed, 7 insertions, 0 deletions
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}