diff options
author | Martin Mathieson <martin.r.mathieson@googlemail.com> | 2006-12-07 11:31:25 +0000 |
---|---|---|
committer | Martin Mathieson <martin.r.mathieson@googlemail.com> | 2006-12-07 11:31:25 +0000 |
commit | 2552039f08754e2429c5011f176f991a3a133ad2 (patch) | |
tree | 96aba08a7b702e6bef25986c6e9fd9b4d58c1bb4 /epan | |
parent | c413602d7733302f133ac8d00906d71cf930f172 (diff) | |
download | wireshark-2552039f08754e2429c5011f176f991a3a133ad2.tar.gz wireshark-2552039f08754e2429c5011f176f991a3a133ad2.tar.bz2 wireshark-2552039f08754e2429c5011f176f991a3a133ad2.zip |
EDCH - show total number of PDUs in info column
svn path=/trunk/; revision=20059
Diffstat (limited to 'epan')
-rw-r--r-- | epan/dissectors/packet-umts_fp.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/epan/dissectors/packet-umts_fp.c b/epan/dissectors/packet-umts_fp.c index 0f7f80b49b..89e4a16d1e 100644 --- a/epan/dissectors/packet-umts_fp.c +++ b/epan/dissectors/packet-umts_fp.c @@ -1707,6 +1707,7 @@ void dissect_e_dch_channel_info(tvbuff_t *tvb, packet_info *pinfo, proto_tree *t /* E-DCH data here */ guint bit_offset = 0; + guint total_pdus = 0; guint total_bits = 0; /* FSN */ @@ -1923,6 +1924,7 @@ void dissect_e_dch_channel_info(tvbuff_t *tvb, packet_info *pinfo, proto_tree *t proto_item_append_text(subframe_ti, " (%u bits in %u MAC-d PDUs)", bits_in_subframe, mac_d_pdus_in_subframe); } + total_pdus += mac_d_pdus_in_subframe; total_bits += bits_in_subframe; offset += (bit_offset/8); @@ -1932,8 +1934,8 @@ void dissect_e_dch_channel_info(tvbuff_t *tvb, packet_info *pinfo, proto_tree *t if (check_col(pinfo->cinfo, COL_INFO)) { col_append_fstr(pinfo->cinfo, COL_INFO, - " CFN = %03u (%u bits in %u subframes)", - cfn, total_bits, number_of_subframes); + " CFN = %03u (%u bits in %u pdus in %u subframes)", + cfn, total_bits, total_pdus, number_of_subframes); } /* Payload CRC (optional) */ |