12 #include "packet-rohc.h"
15 #define PDCP_NR_DIRECTION_UPLINK 0
16 #define PDCP_NR_DIRECTION_DOWNLINK 1
20 NR_SIGNALING_PLANE = 1,
24 typedef enum NRBearerType
34 #define PDCP_NR_SN_LENGTH_12_BITS 12
35 #define PDCP_NR_SN_LENGTH_18_BITS 18
37 #define PDCP_NR_UL_SDAP_HEADER_PRESENT 0x01
38 #define PDCP_NR_DL_SDAP_HEADER_PRESENT 0x02
40 enum nr_security_integrity_algorithm_e { nia0, nia1, nia2, nia3 };
41 enum nr_security_ciphering_algorithm_e { nea0, nea1, nea2, nea3, nea_disabled=999};
45 guint32 algorithm_configuration_frame;
46 gboolean seen_next_ul_pdu;
47 gboolean dl_after_reest_request;
48 enum nr_security_integrity_algorithm_e integrity;
49 enum nr_security_ciphering_algorithm_e ciphering;
52 guint32 previous_algorithm_configuration_frame;
53 enum nr_security_integrity_algorithm_e previous_integrity;
54 enum nr_security_ciphering_algorithm_e previous_ciphering;
64 NRBearerType bearerType;
68 enum pdcp_nr_plane plane;
70 gboolean maci_present;
71 gboolean ciphering_disabled;
110 #define PDCP_NR_START_STRING "pdcp-nr"
119 #define PDCP_NR_SEQNUM_LENGTH_TAG 0x02
126 #define PDCP_NR_DIRECTION_TAG 0x03
129 #define PDCP_NR_BEARER_TYPE_TAG 0x04
132 #define PDCP_NR_BEARER_ID_TAG 0x05
135 #define PDCP_NR_UEID_TAG 0x06
138 #define PDCP_NR_ROHC_COMPRESSION_TAG 0x07
144 #define PDCP_NR_ROHC_IP_VERSION_TAG 0x08
147 #define PDCP_NR_ROHC_CID_INC_INFO_TAG 0x09
150 #define PDCP_NR_ROHC_LARGE_CID_PRES_TAG 0x0A
153 #define PDCP_NR_ROHC_MODE_TAG 0x0B
156 #define PDCP_NR_ROHC_RND_TAG 0x0C
159 #define PDCP_NR_ROHC_UDP_CHECKSUM_PRES_TAG 0x0D
162 #define PDCP_NR_ROHC_PROFILE_TAG 0x0E
165 #define PDCP_NR_MACI_PRES_TAG 0x0F
168 #define PDCP_NR_SDAP_HEADER_TAG 0x10
171 #define PDCP_NR_CIPHER_DISABLED_TAG 0x11
176 #define PDCP_NR_PAYLOAD_TAG 0x01
185 void set_pdcp_nr_security_algorithms_failed(guint16 ueid);
189 void set_pdcp_nr_rrc_reestablishment_request(guint16 ueid);
192 void set_pdcp_nr_rrc_ciphering_key(guint16 ueid,
const char *key, guint32 frame_num);
193 void set_pdcp_nr_rrc_integrity_key(guint16 ueid,
const char *key, guint32 frame_num);
194 void set_pdcp_nr_up_ciphering_key(guint16 ueid,
const char *key, guint32 frame_num);
195 void set_pdcp_nr_up_integrity_key(guint16 ueid,
const char *key, guint32 frame_num);
Definition: packet_info.h:44
Definition: packet-pdcp-nr.h:60
Definition: packet-pdcp-nr.h:44
Definition: packet-rohc.h:40