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
11 #ifndef __TAP_RLC_GRAPH_H__
12 #define __TAP_RLC_GRAPH_H__
16 #endif /* __cplusplus */
18 #include <epan/epan.h>
19 #include <epan/packet.h>
21 #include <epan/dissectors/packet-rlc-lte.h>
24 struct rlc_segment *next;
25 guint32 num; /* framenum */
29 gboolean isControlPDU;
31 guint16 isResegmented;
35 guint16 NACKs[MAX_NACKs];
45 /* A collection of channels that may be found in one frame. Used when working out
46 which channel(s) are present in a frame. */
47 typedef struct _th_t {
49 #define MAX_SUPPORTED_CHANNELS 8
50 rlc_lte_tap_info *rlchdrs[MAX_SUPPORTED_CHANNELS];
54 /* List of segments to show */
55 struct rlc_segment *segments;
56 struct rlc_segment *last_segment;
58 /* These are filled in with the channel/direction this graph is showing */
67 gboolean rlc_graph_segment_list_get(capture_file *cf, struct rlc_graph *tg, gboolean stream_known,
69 void rlc_graph_segment_list_free(struct rlc_graph * );
73 gboolean compare_rlc_headers(guint16 ueid1, guint16 channelType1, guint16 channelId1, guint8 rlcMode1, guint8 direction1,
74 guint16 ueid2, guint16 channelType2, guint16 channelId2, guint8 rlcMode2, guint8 direction2,
75 gboolean isControlFrame);
76 rlc_lte_tap_info *select_rlc_lte_session(capture_file *cf, struct rlc_segment *hdrs,
82 #endif /* __cplusplus */