aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-tds.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-tds.c
parent6dfde6891119b45e7ae543c4601ba69d5b833127 (diff)
Introduce "Reassembled length" filter element for all protocols doing
reassembly. svn path=/trunk/; revision=31767
Diffstat (limited to 'epan/dissectors/packet-tds.c')
-rw-r--r--epan/dissectors/packet-tds.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/epan/dissectors/packet-tds.c b/epan/dissectors/packet-tds.c
index 27339363b1..8fab2264c0 100644
--- a/epan/dissectors/packet-tds.c
+++ b/epan/dissectors/packet-tds.c
@@ -317,6 +317,7 @@ static int hf_tds_channel = -1;
static int hf_tds_packet_number = -1;
static int hf_tds_window = -1;
static int hf_tds_reassembled_in = -1;
+static int hf_tds_reassembled_length = -1;
static int hf_tds_fragments = -1;
static int hf_tds_fragment = -1;
static int hf_tds_fragment_overlap = -1;
@@ -362,6 +363,7 @@ static const fragment_items tds_frag_items = {
&hf_tds_fragment_too_long_fragment,
&hf_tds_fragment_error,
&hf_tds_reassembled_in,
+ &hf_tds_reassembled_length,
"fragments"
};
@@ -2052,6 +2054,11 @@ proto_register_tds(void)
FT_FRAMENUM, BASE_NONE, NULL, 0x0,
"This TDS packet is reassembled in this frame", HFILL }
},
+ { &hf_tds_reassembled_length,
+ { "Reassembled TDS length", "tds.reassembled_length",
+ FT_UINT32, BASE_DEC, NULL, 0x0,
+ "The total length of the reassembled payload", HFILL }
+ },
{ &hf_tds7_login_total_size,
{ "Total Packet Length", "tds7login.total_len",
FT_UINT32, BASE_DEC, NULL, 0x0,