diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-09-19 04:14:33 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-09-19 04:14:33 +0000 |
commit | 9f153fbfec0fb9c9ce38e749a7c6f4a5e115d4e9 (patch) | |
tree | 2784370cda9bbf2da9114d70f05399c0b229d28c /epan/dissectors/packet-rlc-3gpp-common.h | |
parent | Adding debian version 4.2.6-1. (diff) | |
download | wireshark-9f153fbfec0fb9c9ce38e749a7c6f4a5e115d4e9.tar.xz wireshark-9f153fbfec0fb9c9ce38e749a7c6f4a5e115d4e9.zip |
Merging upstream version 4.4.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'epan/dissectors/packet-rlc-3gpp-common.h')
-rw-r--r-- | epan/dissectors/packet-rlc-3gpp-common.h | 61 |
1 files changed, 61 insertions, 0 deletions
diff --git a/epan/dissectors/packet-rlc-3gpp-common.h b/epan/dissectors/packet-rlc-3gpp-common.h new file mode 100644 index 00000000..6e91954f --- /dev/null +++ b/epan/dissectors/packet-rlc-3gpp-common.h @@ -0,0 +1,61 @@ +/* packet-rlc-common.h + * + * Martin Mathieson + * Wireshark - Network traffic analyzer + * By Gerald Combs <gerald@wireshark.org> + * Copyright 1998 Gerald Combs + * + * SPDX-License-Identifier: GPL-2.0-or-later + */ + +#ifndef PACKET_RLC_COMMON_H +#define PACKET_RLC_COMMON_H + + +#define RLC_RAT_LTE 0 +#define RLC_RAT_NR 1 + +typedef struct rlc_3gpp_tap_info { + /* version */ + uint8_t rat; + + /* Info from context */ + uint8_t rlcMode; + uint8_t direction; + uint8_t priority; + uint16_t ueid; + uint16_t channelType; + uint16_t channelId; + uint16_t pduLength; + uint8_t sequenceNumberLength; + + nstime_t rlc_time; + uint8_t loggedInMACFrame; + + bool sequenceNumberGiven; // absent for NR UM if not segmented + uint32_t sequenceNumber; + uint8_t isResegmented; // LTE only.. + uint8_t isControlPDU; + uint32_t ACKNo; + #define MAX_NACKs 512 + uint16_t noOfNACKs; + uint32_t NACKs[MAX_NACKs]; + + uint16_t missingSNs; +} rlc_3gpp_tap_info; + +#endif + + +/* + * Editor modelines - https://www.wireshark.org/tools/modelines.html + * + * Local variables: + * c-basic-offset: 4 + * tab-width: 8 + * indent-tabs-mode: nil + * End: + * + * vi: set shiftwidth=4 tabstop=8 expandtab: + * :indentSize=4:tabSize=8:noTabs=true: + */ |