lte/ui: fix 'time' var name.
As pointed out by checkAPI.pl. Change-Id: Ibab9b2720f3ef666b06b2b61ffc54aa23cbb01fc Reviewed-on: https://code.wireshark.org/review/10469 Reviewed-by: Michael Mann <mmann78@netscape.net> Petri-Dish: Michael Mann <mmann78@netscape.net> Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
This commit is contained in:
parent
b9001b0f90
commit
942eb739f4
|
@ -5854,7 +5854,7 @@ int dissect_mac_lte(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void* d
|
|||
tap_info->crcStatus = p_mac_lte_info->crcStatus;
|
||||
tap_info->direction = p_mac_lte_info->direction;
|
||||
|
||||
tap_info->time = pinfo->fd->abs_ts;
|
||||
tap_info->mac_lte_time = pinfo->fd->abs_ts;
|
||||
|
||||
/* Add hidden item to filter on */
|
||||
hidden_root_ti = proto_tree_add_string_format(tree,
|
||||
|
|
|
@ -199,7 +199,7 @@ typedef struct mac_lte_tap_info {
|
|||
guint8 isPHYRetx;
|
||||
guint16 ueInTTI;
|
||||
|
||||
nstime_t time;
|
||||
nstime_t mac_lte_time;
|
||||
|
||||
/* Number of bytes (which part is used depends upon context settings) */
|
||||
guint32 single_number_of_bytes;
|
||||
|
|
|
@ -2925,7 +2925,7 @@ static void dissect_rlc_lte_common(tvbuff_t *tvb, packet_info *pinfo, proto_tree
|
|||
tap_info->UMSequenceNumberLength = p_rlc_lte_info->UMSequenceNumberLength;
|
||||
tap_info->loggedInMACFrame = (p_get_proto_data(wmem_file_scope(), pinfo, proto_mac_lte, 0) != NULL);
|
||||
|
||||
tap_info->time = pinfo->fd->abs_ts;
|
||||
tap_info->rlc_lte_time = pinfo->fd->abs_ts;
|
||||
|
||||
/* Reset this count */
|
||||
s_number_of_extensions = 0;
|
||||
|
|
|
@ -72,7 +72,7 @@ typedef struct rlc_lte_tap_info {
|
|||
guint16 pduLength;
|
||||
guint8 UMSequenceNumberLength;
|
||||
|
||||
nstime_t time;
|
||||
nstime_t rlc_lte_time;
|
||||
guint8 loggedInMACFrame;
|
||||
guint16 sequenceNumber;
|
||||
guint8 isResegmented;
|
||||
|
|
|
@ -337,9 +337,9 @@ mac_lte_stat_packet(void *phs, packet_info *pinfo, epan_dissect_t *edt _U_,
|
|||
|
||||
/* Update time range */
|
||||
if (te->stats.UL_frames == 0) {
|
||||
te->stats.UL_time_start = si->time;
|
||||
te->stats.UL_time_start = si->mac_lte_time;
|
||||
}
|
||||
te->stats.UL_time_stop = si->time;
|
||||
te->stats.UL_time_stop = si->mac_lte_time;
|
||||
|
||||
te->stats.UL_frames++;
|
||||
|
||||
|
@ -387,9 +387,9 @@ mac_lte_stat_packet(void *phs, packet_info *pinfo, epan_dissect_t *edt _U_,
|
|||
|
||||
/* Update time range */
|
||||
if (te->stats.DL_frames == 0) {
|
||||
te->stats.DL_time_start = si->time;
|
||||
te->stats.DL_time_start = si->mac_lte_time;
|
||||
}
|
||||
te->stats.DL_time_stop = si->time;
|
||||
te->stats.DL_time_stop = si->mac_lte_time;
|
||||
|
||||
te->stats.DL_frames++;
|
||||
|
||||
|
|
|
@ -240,9 +240,9 @@ rlc_lte_stat_packet(void *phs, packet_info *pinfo, epan_dissect_t *edt _U_,
|
|||
if (si->direction == DIRECTION_UPLINK) {
|
||||
/* Update time range */
|
||||
if (te->stats.UL_frames == 0) {
|
||||
te->stats.UL_time_start = si->time;
|
||||
te->stats.UL_time_start = si->rlc_lte_time;
|
||||
}
|
||||
te->stats.UL_time_stop = si->time;
|
||||
te->stats.UL_time_stop = si->rlc_lte_time;
|
||||
|
||||
te->stats.UL_frames++;
|
||||
te->stats.UL_total_bytes += si->pduLength;
|
||||
|
@ -250,9 +250,9 @@ rlc_lte_stat_packet(void *phs, packet_info *pinfo, epan_dissect_t *edt _U_,
|
|||
else {
|
||||
/* Update time range */
|
||||
if (te->stats.DL_frames == 0) {
|
||||
te->stats.DL_time_start = si->time;
|
||||
te->stats.DL_time_start = si->rlc_lte_time;
|
||||
}
|
||||
te->stats.DL_time_stop = si->time;
|
||||
te->stats.DL_time_stop = si->rlc_lte_time;
|
||||
|
||||
te->stats.DL_frames++;
|
||||
te->stats.DL_total_bytes += si->pduLength;
|
||||
|
|
|
@ -451,9 +451,9 @@ static int mac_lte_stat_packet(void *phs, packet_info *pinfo, epan_dissect_t *ed
|
|||
|
||||
/* Update time range */
|
||||
if (te->stats.UL_frames == 0) {
|
||||
te->stats.UL_time_start = si->time;
|
||||
te->stats.UL_time_start = si->mac_lte_time;
|
||||
}
|
||||
te->stats.UL_time_stop = si->time;
|
||||
te->stats.UL_time_stop = si->mac_lte_time;
|
||||
|
||||
te->stats.UL_frames++;
|
||||
|
||||
|
@ -503,9 +503,9 @@ static int mac_lte_stat_packet(void *phs, packet_info *pinfo, epan_dissect_t *ed
|
|||
|
||||
/* Update time range */
|
||||
if (te->stats.DL_frames == 0) {
|
||||
te->stats.DL_time_start = si->time;
|
||||
te->stats.DL_time_start = si->mac_lte_time;
|
||||
}
|
||||
te->stats.DL_time_stop = si->time;
|
||||
te->stats.DL_time_stop = si->mac_lte_time;
|
||||
|
||||
te->stats.DL_frames++;
|
||||
|
||||
|
|
|
@ -458,9 +458,9 @@ static int rlc_lte_stat_packet(void *phs, packet_info *pinfo, epan_dissect_t *ed
|
|||
if (si->direction == DIRECTION_UPLINK) {
|
||||
/* Update time range */
|
||||
if (te->stats.UL_frames == 0) {
|
||||
te->stats.UL_time_start = si->time;
|
||||
te->stats.UL_time_start = si->rlc_lte_time;
|
||||
}
|
||||
te->stats.UL_time_stop = si->time;
|
||||
te->stats.UL_time_stop = si->rlc_lte_time;
|
||||
|
||||
te->stats.UL_frames++;
|
||||
te->stats.UL_total_bytes += si->pduLength;
|
||||
|
@ -468,9 +468,9 @@ static int rlc_lte_stat_packet(void *phs, packet_info *pinfo, epan_dissect_t *ed
|
|||
else {
|
||||
/* Update time range */
|
||||
if (te->stats.DL_frames == 0) {
|
||||
te->stats.DL_time_start = si->time;
|
||||
te->stats.DL_time_start = si->rlc_lte_time;
|
||||
}
|
||||
te->stats.DL_time_stop = si->time;
|
||||
te->stats.DL_time_stop = si->rlc_lte_time;
|
||||
|
||||
te->stats.DL_frames++;
|
||||
te->stats.DL_total_bytes += si->pduLength;
|
||||
|
@ -514,9 +514,9 @@ static int rlc_lte_stat_packet(void *phs, packet_info *pinfo, epan_dissect_t *ed
|
|||
if (si->direction == DIRECTION_UPLINK) {
|
||||
/* Update time range */
|
||||
if (channel_stats->UL_frames == 0) {
|
||||
channel_stats->UL_time_start = si->time;
|
||||
channel_stats->UL_time_start = si->rlc_lte_time;
|
||||
}
|
||||
channel_stats->UL_time_stop = si->time;
|
||||
channel_stats->UL_time_stop = si->rlc_lte_time;
|
||||
|
||||
channel_stats->UL_frames++;
|
||||
channel_stats->UL_bytes += si->pduLength;
|
||||
|
@ -532,9 +532,9 @@ static int rlc_lte_stat_packet(void *phs, packet_info *pinfo, epan_dissect_t *ed
|
|||
else {
|
||||
/* Update time range */
|
||||
if (channel_stats->DL_frames == 0) {
|
||||
channel_stats->DL_time_start = si->time;
|
||||
channel_stats->DL_time_start = si->rlc_lte_time;
|
||||
}
|
||||
channel_stats->DL_time_stop = si->time;
|
||||
channel_stats->DL_time_stop = si->rlc_lte_time;
|
||||
|
||||
channel_stats->DL_frames++;
|
||||
channel_stats->DL_bytes += si->pduLength;
|
||||
|
|
Loading…
Reference in New Issue