12#ifndef __TAP_RLC_GRAPH_H__
13#define __TAP_RLC_GRAPH_H__
18#include <epan/dissectors/packet-rlc-lte.h>
19#include <epan/dissectors/packet-rlc-3gpp-common.h>
55 #define MAX_SUPPORTED_CHANNELS 8
116 uint16_t ueid1, uint16_t channelType1, uint16_t channelId1, uint8_t rlcMode1, uint8_t direction1,
117 uint16_t ueid2, uint16_t channelType2, uint16_t channelId2, uint8_t rlcMode2, uint8_t direction2,
118 bool isControlFrame);
struct _capture_file capture_file
Represents a capture file and its associated metadata.
Accumulates all RLC channel headers found within a single captured frame.
Definition tap-rlc-graph.h:53
rlc_3gpp_tap_info * rlchdrs[8]
Definition tap-rlc-graph.h:56
int num_hdrs
Definition tap-rlc-graph.h:54
Definition packet-rlc-3gpp-common.h:18
Holds all state required to render an RLC sequence-number graph for one channel.
Definition tap-rlc-graph.h:62
uint8_t rlcMode
Definition tap-rlc-graph.h:72
bool channelSet
Definition tap-rlc-graph.h:66
struct rlc_segment * last_segment
Definition tap-rlc-graph.h:64
uint16_t ueid
Definition tap-rlc-graph.h:69
uint16_t channelType
Definition tap-rlc-graph.h:70
struct rlc_segment * segments
Definition tap-rlc-graph.h:63
uint16_t channelId
Definition tap-rlc-graph.h:71
uint8_t rat
Definition tap-rlc-graph.h:68
uint8_t direction
Definition tap-rlc-graph.h:73
Represents a single RLC PDU or control segment captured from the air interface.
Definition packet-rlc-lte.c:381
uint32_t ACKNo
Definition tap-rlc-graph.h:36
uint32_t num
Definition tap-rlc-graph.h:30
uint16_t pduLength
Definition tap-rlc-graph.h:39
uint16_t channelType
Definition tap-rlc-graph.h:43
uint8_t rlcMode
Definition tap-rlc-graph.h:45
uint8_t direction
Definition tap-rlc-graph.h:46
uint16_t sequenceNumberLength
Definition tap-rlc-graph.h:47
uint16_t noOfNACKs
Definition tap-rlc-graph.h:37
uint16_t channelId
Definition tap-rlc-graph.h:44
bool isControlPDU
Definition tap-rlc-graph.h:33
nstime_t rel_ts
Definition tap-rlc-graph.h:31
uint8_t rat
Definition tap-rlc-graph.h:41
uint32_t NACKs[MAX_NACKs]
Definition tap-rlc-graph.h:38
uint16_t ueid
Definition tap-rlc-graph.h:42
struct rlc_segment * next
Definition tap-rlc-graph.h:29
uint16_t isResegmented
Definition tap-rlc-graph.h:35
bool compare_rlc_headers(uint8_t rat1, uint8_t rat2, uint16_t ueid1, uint16_t channelType1, uint16_t channelId1, uint8_t rlcMode1, uint8_t direction1, uint16_t ueid2, uint16_t channelType2, uint16_t channelId2, uint8_t rlcMode2, uint8_t direction2, bool isControlFrame)
Compares two RLC headers for equality.
Definition tap-rlc-graph.c:25
void rlc_graph_segment_list_free(struct rlc_graph *g)
Frees the list of RLC segments in the given RLC graph.
Definition tap-rlc-graph.c:310
struct _th_t th_t
Accumulates all RLC channel headers found within a single captured frame.
bool rlc_graph_segment_list_get(capture_file *cf, struct rlc_graph *tg, bool stream_known, char **err_string)
Retrieves a list of RLC segments from a capture file.
Definition tap-rlc-graph.c:254
rlc_3gpp_tap_info * select_rlc_lte_session(capture_file *cf, struct rlc_segment *hdrs, char **err_msg)
Selects an RLC LTE session from a capture file.
Definition tap-rlc-graph.c:100