Wireshark 4.5.0
The Wireshark network protocol analyzer
Loading...
Searching...
No Matches
packet-rlc-3gpp-common.h
1/* packet-rlc-common.h
2 *
3 * Martin Mathieson
4 * Wireshark - Network traffic analyzer
5 * By Gerald Combs <[email protected]>
6 * Copyright 1998 Gerald Combs
7 *
8 * SPDX-License-Identifier: GPL-2.0-or-later
9 */
10
11#ifndef PACKET_RLC_COMMON_H
12#define PACKET_RLC_COMMON_H
13
14
15#define RLC_RAT_LTE 0
16#define RLC_RAT_NR 1
17
18typedef struct rlc_3gpp_tap_info {
19 /* version */
20 uint8_t rat;
21
22 /* Info from context */
23 uint8_t rlcMode;
24 uint8_t direction;
25 uint8_t priority;
26 uint16_t ueid;
27 uint16_t channelType;
28 uint16_t channelId;
29 uint16_t pduLength;
30 uint8_t sequenceNumberLength;
31
32 nstime_t rlc_time;
33 uint8_t loggedInMACFrame;
34
35 bool sequenceNumberGiven; // absent for NR UM if not segmented
36 uint32_t sequenceNumber;
37 uint8_t isResegmented; // LTE only..
38 uint8_t isControlPDU;
39 uint32_t ACKNo;
40 #define MAX_NACKs 512
41 uint16_t noOfNACKs;
42 uint32_t NACKs[MAX_NACKs];
43
44 uint16_t missingSNs;
46
47#endif
48
49
50/*
51 * Editor modelines - https://www.wireshark.org/tools/modelines.html
52 *
53 * Local variables:
54 * c-basic-offset: 4
55 * tab-width: 8
56 * indent-tabs-mode: nil
57 * End:
58 *
59 * vi: set shiftwidth=4 tabstop=8 expandtab:
60 * :indentSize=4:tabSize=8:noTabs=true:
61 */
Definition nstime.h:26
Definition packet-rlc-3gpp-common.h:18