#include <epan/epan.h>
#include <epan/packet.h>
#include <epan/cfile.h>
#include <epan/dissectors/packet-rlc-lte.h>
#include <epan/dissectors/packet-rlc-3gpp-common.h>
Go to the source code of this file.
|
|
#define | MAX_SUPPORTED_CHANNELS 8 |
| |
|
|
typedef struct _th_t | th_t |
| |
|
| 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.
|
| |
| void | rlc_graph_segment_list_free (struct rlc_graph *g) |
| | Frees the list of RLC segments in the given RLC graph.
|
| |
| 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.
|
| |
| 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.
|
| |
LTE RLC stream statistics
Wireshark - Network traffic analyzer By Gerald Combs geral.nosp@m.d@wi.nosp@m.resha.nosp@m.rk.o.nosp@m.rg Copyright 1998 Gerald Combs
SPDX-License-Identifier: GPL-2.0-or-later
◆ compare_rlc_headers()
| 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.
This function compares two RLC (Radio Link Control) headers based on their parameters. It checks if the headers are equal, considering both data and control frames.
- Parameters
-
| rat1 | Radio Access Technology of the first header. |
| rat2 | Radio Access Technology of the second header. |
| ueid1 | User Equipment ID of the first header. |
| channelType1 | Channel type of the first header. |
| channelId1 | Channel ID of the first header. |
| rlcMode1 | RLC mode of the first header. |
| direction1 | Direction of the first header (0 for uplink, 1 for downlink). |
| ueid2 | User Equipment ID of the second header. |
| channelType2 | Channel type of the second header. |
| channelId2 | Channel ID of the second header. |
| rlcMode2 | RLC mode of the second header. |
| direction2 | Direction of the second header (0 for uplink, 1 for downlink). |
| isControlFrame | Indicates if the frame is a control frame. |
- Returns
- true if the headers are equal, false otherwise.
◆ rlc_graph_segment_list_free()
| void rlc_graph_segment_list_free |
( |
struct rlc_graph * |
g | ) |
|
Frees the list of RLC segments in the given RLC graph.
- Parameters
-
| g | Pointer to the RLC graph structure whose segments are to be freed. |
◆ rlc_graph_segment_list_get()
| 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.
- Parameters
-
| cf | Pointer to the capture file. |
| tg | Pointer to the RLC graph structure. |
| stream_known | Indicates if the stream is already known. |
| err_string | Pointer to an error string (if any). |
- Returns
- true if successful, false otherwise.
◆ select_rlc_lte_session()
Selects an RLC LTE session from a capture file.
This function selects an RLC LTE session based on the current frame in the capture file and filters for RLC-LTE or RLC-NR packets.
- Parameters
-
| cf | The capture file containing the data. |
| hdrs | The RLC segment headers. |
| err_msg | A pointer to a string that will hold any error message if an error occurs. |
- Returns
- An rlc_3gpp_tap_info structure representing the selected RLC LTE session, or NULL if no valid session is found.