1 /* Do not modify this file. Changes will be overwritten. */
2 /* Generated automatically by the ASN.1 to Wireshark dissector compiler */
4 /* asn2wrs.py -q -L -p rrc -c ./rrc.cnf -s ./packet-rrc-template -D . -O ../.. Class-definitions.asn PDU-definitions.asn InformationElements.asn Constant-definitions.asn Internode-definitions.asn */
6 /* packet-rrc-template.h
7 * Copyright 2009, Anders Broman <anders.broman@ericsson.com>
9 * Wireshark - Network traffic analyzer
10 * By Gerald Combs <gerald@wireshark.org>
11 * Copyright 1998 Gerald Combs
13 * SPDX-License-Identifier: GPL-2.0-or-later
19 #include <epan/asn1.h> /* Needed for non asn1 dissectors?*/
22 int dissect_rrc_InterRATHandoverInfo(tvbuff_t
*tvb _U_
, int offset _U_
, asn1_ctx_t
*actx _U_
, proto_tree
*tree _U_
, int hf_index _U_
);
23 int dissect_rrc_HandoverToUTRANCommand_PDU(tvbuff_t
*tvb _U_
, packet_info
*pinfo _U_
, proto_tree
*tree _U_
, void *data _U_
);
24 int dissect_rrc_InterRATHandoverInfo_PDU(tvbuff_t
*tvb _U_
, packet_info
*pinfo _U_
, proto_tree
*tree _U_
, void *data _U_
);
25 int dissect_rrc_MeasurementReport_PDU(tvbuff_t
*tvb _U_
, packet_info
*pinfo _U_
, proto_tree
*tree _U_
, void *data _U_
);
26 int dissect_rrc_MasterInformationBlock_PDU(tvbuff_t
*tvb _U_
, packet_info
*pinfo _U_
, proto_tree
*tree _U_
, void *data _U_
);
27 int dissect_rrc_SysInfoType1_PDU(tvbuff_t
*tvb _U_
, packet_info
*pinfo _U_
, proto_tree
*tree _U_
, void *data _U_
);
28 int dissect_rrc_SysInfoType2_PDU(tvbuff_t
*tvb _U_
, packet_info
*pinfo _U_
, proto_tree
*tree _U_
, void *data _U_
);
29 int dissect_rrc_SysInfoType3_PDU(tvbuff_t
*tvb _U_
, packet_info
*pinfo _U_
, proto_tree
*tree _U_
, void *data _U_
);
30 int dissect_rrc_SysInfoType4_PDU(tvbuff_t
*tvb _U_
, packet_info
*pinfo _U_
, proto_tree
*tree _U_
, void *data _U_
);
31 int dissect_rrc_SysInfoType5_PDU(tvbuff_t
*tvb _U_
, packet_info
*pinfo _U_
, proto_tree
*tree _U_
, void *data _U_
);
32 int dissect_rrc_SysInfoType6_PDU(tvbuff_t
*tvb _U_
, packet_info
*pinfo _U_
, proto_tree
*tree _U_
, void *data _U_
);
33 int dissect_rrc_SysInfoType7_PDU(tvbuff_t
*tvb _U_
, packet_info
*pinfo _U_
, proto_tree
*tree _U_
, void *data _U_
);
34 int dissect_rrc_SysInfoType11_PDU(tvbuff_t
*tvb _U_
, packet_info
*pinfo _U_
, proto_tree
*tree _U_
, void *data _U_
);
35 int dissect_rrc_SysInfoType12_PDU(tvbuff_t
*tvb _U_
, packet_info
*pinfo _U_
, proto_tree
*tree _U_
, void *data _U_
);
36 int dissect_rrc_SysInfoType13_PDU(tvbuff_t
*tvb _U_
, packet_info
*pinfo _U_
, proto_tree
*tree _U_
, void *data _U_
);
37 int dissect_rrc_SysInfoType13_1_PDU(tvbuff_t
*tvb _U_
, packet_info
*pinfo _U_
, proto_tree
*tree _U_
, void *data _U_
);
38 int dissect_rrc_SysInfoType13_2_PDU(tvbuff_t
*tvb _U_
, packet_info
*pinfo _U_
, proto_tree
*tree _U_
, void *data _U_
);
39 int dissect_rrc_SysInfoType13_3_PDU(tvbuff_t
*tvb _U_
, packet_info
*pinfo _U_
, proto_tree
*tree _U_
, void *data _U_
);
40 int dissect_rrc_SysInfoType13_4_PDU(tvbuff_t
*tvb _U_
, packet_info
*pinfo _U_
, proto_tree
*tree _U_
, void *data _U_
);
41 int dissect_rrc_SysInfoType14_PDU(tvbuff_t
*tvb _U_
, packet_info
*pinfo _U_
, proto_tree
*tree _U_
, void *data _U_
);
42 int dissect_rrc_SysInfoType15_PDU(tvbuff_t
*tvb _U_
, packet_info
*pinfo _U_
, proto_tree
*tree _U_
, void *data _U_
);
43 int dissect_rrc_SysInfoType15_1_PDU(tvbuff_t
*tvb _U_
, packet_info
*pinfo _U_
, proto_tree
*tree _U_
, void *data _U_
);
44 int dissect_rrc_SysInfoType15_2_PDU(tvbuff_t
*tvb _U_
, packet_info
*pinfo _U_
, proto_tree
*tree _U_
, void *data _U_
);
45 int dissect_rrc_SysInfoType15_3_PDU(tvbuff_t
*tvb _U_
, packet_info
*pinfo _U_
, proto_tree
*tree _U_
, void *data _U_
);
46 int dissect_rrc_SysInfoType15_4_PDU(tvbuff_t
*tvb _U_
, packet_info
*pinfo _U_
, proto_tree
*tree _U_
, void *data _U_
);
47 int dissect_rrc_SysInfoType16_PDU(tvbuff_t
*tvb _U_
, packet_info
*pinfo _U_
, proto_tree
*tree _U_
, void *data _U_
);
48 int dissect_rrc_SysInfoType17_PDU(tvbuff_t
*tvb _U_
, packet_info
*pinfo _U_
, proto_tree
*tree _U_
, void *data _U_
);
49 int dissect_rrc_SysInfoType18_PDU(tvbuff_t
*tvb _U_
, packet_info
*pinfo _U_
, proto_tree
*tree _U_
, void *data _U_
);
50 int dissect_rrc_SysInfoType19_PDU(tvbuff_t
*tvb _U_
, packet_info
*pinfo _U_
, proto_tree
*tree _U_
, void *data _U_
);
51 int dissect_rrc_SysInfoTypeSB1_PDU(tvbuff_t
*tvb _U_
, packet_info
*pinfo _U_
, proto_tree
*tree _U_
, void *data _U_
);
52 int dissect_rrc_SysInfoTypeSB2_PDU(tvbuff_t
*tvb _U_
, packet_info
*pinfo _U_
, proto_tree
*tree _U_
, void *data _U_
);
53 int dissect_rrc_ToTargetRNC_Container_PDU(tvbuff_t
*tvb _U_
, packet_info
*pinfo _U_
, proto_tree
*tree _U_
, void *data _U_
);
54 int dissect_rrc_TargetRNC_ToSourceRNC_Container_PDU(tvbuff_t
*tvb _U_
, packet_info
*pinfo _U_
, proto_tree
*tree _U_
, void *data _U_
);
56 enum rrc_message_type
{
57 RRC_MESSAGE_TYPE_INVALID
= 0,
58 RRC_MESSAGE_TYPE_PCCH
= 1,
59 RRC_MESSAGE_TYPE_UL_CCCH
,
60 RRC_MESSAGE_TYPE_DL_CCCH
,
61 RRC_MESSAGE_TYPE_UL_DCCH
,
62 RRC_MESSAGE_TYPE_DL_DCCH
,
63 RRC_MESSAGE_TYPE_BCCH_FACH
66 enum nas_sys_info_gsm_map
{
67 RRC_NAS_SYS_UNKNOWN
= 0,
70 RRC_NAS_SYS_INFO_CN_COMMON
74 RRC_UE_STATE_UNKNOWN
= 0,
75 RRC_UE_STATE_CELL_DCH
,
76 RRC_UE_STATE_CELL_FACH
,
77 RRC_UE_STATE_CELL_PCH
,
81 #define MAX_RRC_FRAMES 64
82 typedef struct rrc_info
84 enum rrc_message_type msgtype
[MAX_RRC_FRAMES
];
85 uint16_t hrnti
[MAX_RRC_FRAMES
];
88 /*Struct for storing ciphering information*/
89 typedef struct rrc_ciphering_info
91 int seq_no
[31][2]; /*Indicates for each Rbid when ciphering starts - Indexers are [BearerID][Direction]*/
92 GTree
* /*uint32_t*/ start_cs
; /*Start value for CS counter*/
93 GTree
* /*uint32_t*/ start_ps
; /*Start value for PS counter*/
94 int32_t ciphering_algorithm
; /*Indicates which type of ciphering algorithm used*/
95 int32_t integrity_algorithm
; /*Indicates which type of integrity algorithm used*/
96 uint32_t setup_frame
[2]; /*Store which frame contained this information - Indexer is [Direction]*/
97 uint32_t ps_conf_counters
[31][2]; /*This should also be made for CS*/
101 extern GTree
* hsdsch_muxed_flows
;
102 extern GTree
* rrc_ciph_info_tree
;
103 extern wmem_tree_t
* rrc_global_urnti_crnti_map
;
105 #endif /* PACKET_RRC_H */