11#ifndef PACKET_RLC_LTE_H
12#define PACKET_RLC_LTE_H
21#define DIRECTION_UPLINK 0
22#define DIRECTION_DOWNLINK 1
27#define CHANNEL_TYPE_CCCH 1
28#define CHANNEL_TYPE_BCCH_BCH 2
29#define CHANNEL_TYPE_PCCH 3
30#define CHANNEL_TYPE_SRB 4
31#define CHANNEL_TYPE_DRB 5
32#define CHANNEL_TYPE_BCCH_DL_SCH 6
33#define CHANNEL_TYPE_MCCH 7
34#define CHANNEL_TYPE_MTCH 8
37#define UM_SN_LENGTH_5_BITS 5
38#define UM_SN_LENGTH_10_BITS 10
39#define AM_SN_LENGTH_10_BITS 10
40#define AM_SN_LENGTH_16_BITS 16
43typedef enum rlc_lte_nb_mode {
55 uint8_t sequenceNumberLength;
61 rlc_lte_nb_mode nbMode;
66void set_rlc_lte_drb_pdcp_seqnum_length(
packet_info *pinfo, uint16_t ueid, uint8_t drbid, uint8_t userplane_seqnum_length);
69void set_rlc_lte_drb_li_field(
packet_info *pinfo, uint16_t ueid, uint8_t drbid,
bool ul_ext_li_field,
bool dl_ext_li_field);
72void rlc_lte_reset_ue_bearers(
packet_info *pinfo, uint16_t ueid);
94#define RLC_LTE_START_STRING "rlc-lte"
105#define RLC_LTE_SN_LENGTH_TAG 0x02
114#define RLC_LTE_DIRECTION_TAG 0x03
117#define RLC_LTE_PRIORITY_TAG 0x04
120#define RLC_LTE_UEID_TAG 0x05
123#define RLC_LTE_CHANNEL_TYPE_TAG 0x06
126#define RLC_LTE_CHANNEL_ID_TAG 0x07
129#define RLC_LTE_EXT_LI_FIELD_TAG 0x08
132#define RLC_LTE_NB_MODE_TAG 0x09
137#define RLC_LTE_PAYLOAD_TAG 0x01
Definition packet_info.h:43
Definition packet-rlc-lte.h:51