aboutsummaryrefslogtreecommitdiffstats
path: root/ui/tap-rlc-graph.c
diff options
context:
space:
mode:
authorMartin Mathieson <martin.r.mathieson@googlemail.com>2017-12-03 13:49:36 +0000
committerMartin Mathieson <martin.r.mathieson@googlemail.com>2017-12-09 13:58:19 +0000
commitd96ef7ed05a9f3219742699988faae3889334c85 (patch)
tree8c5117e6c7e78276c91a9bfe12d797c986a768fd /ui/tap-rlc-graph.c
parentf8203771ec1580013e8de21e6286a33c330f08e3 (diff)
Allow switching direction in LTE RLC graph
Change-Id: I1681089aebe7f00b2b84ece00c53a3bf8769d50b Reviewed-on: https://code.wireshark.org/review/24682 Petri-Dish: Martin Mathieson <martin.r.mathieson@googlemail.com> Reviewed-by: Martin Mathieson <martin.r.mathieson@googlemail.com>
Diffstat (limited to 'ui/tap-rlc-graph.c')
-rw-r--r--ui/tap-rlc-graph.c15
1 files changed, 5 insertions, 10 deletions
diff --git a/ui/tap-rlc-graph.c b/ui/tap-rlc-graph.c
index 817b4c08e9..0184191688 100644
--- a/ui/tap-rlc-graph.c
+++ b/ui/tap-rlc-graph.c
@@ -1,8 +1,7 @@
-/* tap-rlc-stream.c
- * LTE RLC stream statistics
+/* tap-rlc-graph.c
+ * LTE RLC channel graph info
*
* Originally from tcp_graph.c by Pavel Mores <pvl@uh.cz>
- * Win32 port: rwh@unifiedtech.com
*
* Wireshark - Network traffic analyzer
* By Gerald Combs <gerald@wireshark.org>
@@ -172,8 +171,6 @@ rlc_lte_tap_info *select_rlc_lte_session(capture_file *cf,
hdrs->num = fdata->num;
hdrs->rel_secs = (guint32) rel_ts.secs;
hdrs->rel_usecs = rel_ts.nsecs/1000;
- hdrs->abs_secs = (guint32) fdata->abs_ts.secs;
- hdrs->abs_usecs = fdata->abs_ts.nsecs/1000;
hdrs->ueid = th.rlchdrs[0]->ueid;
hdrs->channelType = th.rlchdrs[0]->channelType;
@@ -203,8 +200,6 @@ int rlc_lte_tap_for_graph_data(void *pct, packet_info *pinfo, epan_dissect_t *ed
segment->num = pinfo->num;
segment->rel_secs = (guint32) pinfo->rel_ts.secs;
segment->rel_usecs = pinfo->rel_ts.nsecs/1000;
- segment->abs_secs = (guint32) pinfo->abs_ts.secs;
- segment->abs_usecs = pinfo->abs_ts.nsecs/1000;
segment->ueid = rlchdr->ueid;
segment->channelType = rlchdr->channelType;
@@ -254,7 +249,7 @@ gboolean rlc_graph_segment_list_get(capture_file *cf, struct rlc_graph *g, gbool
struct rlc_segment current;
GString *error_string;
- g_log(NULL, G_LOG_LEVEL_DEBUG, "graph_segment_list_get()");
+ g_log(NULL, G_LOG_LEVEL_DEBUG, "rlc_graph_segment_list_get()");
if (!cf || !g) {
/* Really shouldn't happen */
@@ -276,8 +271,8 @@ gboolean rlc_graph_segment_list_get(capture_file *cf, struct rlc_graph *g, gbool
}
- /* rescan all the packets and pick up all interesting RLC headers.
- * we only filter for rlc-lte here for speed and do the actual compare
+ /* Rescan all the packets and pick up all interesting RLC headers.
+ * We only filter for rlc-lte here for speed and do the actual compare
* in the tap listener
*/