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-dcp-etsi.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-dcp-etsi.c')
-rw-r--r-- | epan/dissectors/packet-dcp-etsi.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/epan/dissectors/packet-dcp-etsi.c b/epan/dissectors/packet-dcp-etsi.c index 43568679b8..3b66fe9e1b 100644 --- a/epan/dissectors/packet-dcp-etsi.c +++ b/epan/dissectors/packet-dcp-etsi.c @@ -92,6 +92,7 @@ static int hf_edcp_fragment_multiple_tails = -1; static int hf_edcp_fragment_too_long_fragment = -1; static int hf_edcp_fragment_error = -1; static int hf_edcp_reassembled_in = -1; +static int hf_edcp_reassembled_length = -1; /* Initialize the subtree pointers */ static gint ett_edcp = -1; @@ -118,6 +119,8 @@ static const fragment_items dcp_frag_items = { &hf_edcp_fragment_error, /* Reassembled in field */ &hf_edcp_reassembled_in, +/* Reassembled length field */ + &hf_edcp_reassembled_length, /* Tag */ "Message fragments" }; @@ -819,7 +822,10 @@ proto_register_dcp_etsi (void) FT_FRAMENUM, BASE_NONE, NULL, 0x00, NULL, HFILL}}, {&hf_edcp_reassembled_in, {"Reassembled in", "dcp-pft.reassembled.in", - FT_FRAMENUM, BASE_NONE, NULL, 0x00, NULL, HFILL}}, + FT_UINT32, BASE_DEC, NULL, 0x00, NULL, HFILL}}, + {&hf_edcp_reassembled_length, + {"Reassembled length", "dcp-pft.reassembled.length", + FT_UINT32, BASE_DEC, NULL, 0x00, NULL, HFILL}}, {&hf_edcp_c_max, {"C max", "dcp-pft.cmax", FT_UINT16, BASE_DEC, NULL, 0, |