2 * LTE RLC stream statistics
4 * Wireshark - Network traffic analyzer
5 * By Gerald Combs <gerald@wireshark.org>
6 * Copyright 1998 Gerald Combs
8 * SPDX-License-Identifier: GPL-2.0-or-later*/
10 #ifndef __TAP_RLC_GRAPH_H__
11 #define __TAP_RLC_GRAPH_H__
15 #endif /* __cplusplus */
17 #include <epan/epan.h>
18 #include <epan/packet.h>
20 #include <epan/dissectors/packet-rlc-lte.h>
23 struct rlc_segment *next;
24 guint32 num; /* framenum */
28 gboolean isControlPDU;
30 guint16 isResegmented;
34 guint16 NACKs[MAX_NACKs];
44 /* A collection of channels that may be found in one frame. Used when working out
45 which channel(s) are present in a frame. */
46 typedef struct _th_t {
48 #define MAX_SUPPORTED_CHANNELS 8
49 rlc_lte_tap_info *rlchdrs[MAX_SUPPORTED_CHANNELS];
53 /* List of segments to show */
54 struct rlc_segment *segments;
55 struct rlc_segment *last_segment;
57 /* These are filled in with the channel/direction this graph is showing */
65 /* Lists of elements to draw. N.B. GTK version only. */
66 struct element_list *elists;
69 gboolean rlc_graph_segment_list_get(capture_file *cf, struct rlc_graph *tg, gboolean stream_known,
71 void rlc_graph_segment_list_free(struct rlc_graph * );
75 gboolean compare_rlc_headers(guint16 ueid1, guint16 channelType1, guint16 channelId1, guint8 rlcMode1, guint8 direction1,
76 guint16 ueid2, guint16 channelType2, guint16 channelId2, guint8 rlcMode2, guint8 direction2,
77 gboolean isControlFrame);
78 rlc_lte_tap_info *select_rlc_lte_session(capture_file *cf, struct rlc_segment *hdrs,
84 #endif /* __cplusplus */