Revert "TODO epan/dissectors/asn1/kerberos/packet-kerberos-template.c new GSS flags"
[wireshark-sm.git] / epan / dissectors / packet-rlc-3gpp-common.h
blob6e91954ffd6aff3dfad6da8d9325a030e716778b
1 /* packet-rlc-common.h
3 * Martin Mathieson
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
9 */
11 #ifndef PACKET_RLC_COMMON_H
12 #define PACKET_RLC_COMMON_H
15 #define RLC_RAT_LTE 0
16 #define RLC_RAT_NR 1
18 typedef struct rlc_3gpp_tap_info {
19 /* version */
20 uint8_t rat;
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;
32 nstime_t rlc_time;
33 uint8_t loggedInMACFrame;
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];
44 uint16_t missingSNs;
45 } rlc_3gpp_tap_info;
47 #endif
51 * Editor modelines - https://www.wireshark.org/tools/modelines.html
53 * Local variables:
54 * c-basic-offset: 4
55 * tab-width: 8
56 * indent-tabs-mode: nil
57 * End:
59 * vi: set shiftwidth=4 tabstop=8 expandtab:
60 * :indentSize=4:tabSize=8:noTabs=true: