12#include "packet-rohc.h"
15#define DIRECTION_UPLINK 0
16#define DIRECTION_DOWNLINK 1
24typedef enum LogicalChannelType
42#define PDCP_SN_LENGTH_5_BITS 5
43#define PDCP_SN_LENGTH_7_BITS 7
44#define PDCP_SN_LENGTH_12_BITS 12
45#define PDCP_SN_LENGTH_15_BITS 15
46#define PDCP_SN_LENGTH_18_BITS 18
48enum lte_security_integrity_algorithm_e { eia0, eia1, eia2, eia3 };
49enum lte_security_ciphering_algorithm_e { eea0, eea1, eea2, eea3 };
53 uint32_t configuration_frame;
54 bool seen_next_ul_pdu;
55 enum lte_security_integrity_algorithm_e integrity;
56 enum lte_security_ciphering_algorithm_e ciphering;
59 uint32_t previous_configuration_frame;
60 enum lte_security_integrity_algorithm_e previous_integrity;
61 enum lte_security_ciphering_algorithm_e previous_ciphering;
71 LogicalChannelType channelType;
73 BCCHTransportType BCCHTransport;
77 enum pdcp_plane plane;
78 uint8_t seqnum_length;
111#define PDCP_LTE_START_STRING "pdcp-lte"
123#define PDCP_LTE_SEQNUM_LENGTH_TAG 0x02
132#define PDCP_LTE_DIRECTION_TAG 0x03
135#define PDCP_LTE_LOG_CHAN_TYPE_TAG 0x04
138#define PDCP_LTE_BCCH_TRANSPORT_TYPE_TAG 0x05
141#define PDCP_LTE_ROHC_IP_VERSION_TAG 0x06
144#define PDCP_LTE_ROHC_CID_INC_INFO_TAG 0x07
147#define PDCP_LTE_ROHC_LARGE_CID_PRES_TAG 0x08
150#define PDCP_LTE_ROHC_MODE_TAG 0x09
153#define PDCP_LTE_ROHC_RND_TAG 0x0A
156#define PDCP_LTE_ROHC_UDP_CHECKSUM_PRES_TAG 0x0B
159#define PDCP_LTE_ROHC_PROFILE_TAG 0x0C
162#define PDCP_LTE_CHANNEL_ID_TAG 0x0D
165#define PDCP_LTE_UEID_TAG 0x0E
170#define PDCP_LTE_PAYLOAD_TAG 0x01
180void set_pdcp_lte_security_algorithms_failed(uint16_t ueid);
184void set_pdcp_lte_rrc_ciphering_key(uint16_t ueid,
const char *key, uint32_t frame_num);
185void set_pdcp_lte_rrc_integrity_key(uint16_t ueid,
const char *key, uint32_t frame_num);
186void set_pdcp_lte_up_ciphering_key(uint16_t ueid,
const char *key, uint32_t frame_num);
189void pdcp_lte_reset_ue_bearers(
packet_info *pinfo, uint16_t ueid,
bool including_drb_am);
Definition packet_info.h:43
Definition packet-pdcp-lte.h:67
Definition packet-pdcp-lte.h:52
Definition packet-rohc.h:40