Wireshark  2.9.0-477-g68ec514b
The Wireshark network protocol analyzer
packet-rrc.h
1 /* Do not modify this file. Changes will be overwritten. */
2 /* Generated automatically by the ASN.1 to Wireshark dissector compiler */
3 /* packet-rrc.h */
4 /* asn2wrs.py -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 */
5 
6 /* Input file: packet-rrc-template.h */
7 
8 #line 1 "./asn1/rrc/packet-rrc-template.h"
9 /* packet-rrc-template.h
10  * Copyright 2009, Anders Broman <anders.broman@ericsson.com>
11  *
12  * Wireshark - Network traffic analyzer
13  * By Gerald Combs <gerald@wireshark.org>
14  * Copyright 1998 Gerald Combs
15  *
16  * SPDX-License-Identifier: GPL-2.0-or-later
17  */
18 
19 #ifndef PACKET_RRC_H
20 #define PACKET_RRC_H
21 
22 #include <epan/asn1.h> /* Needed for non asn1 dissectors?*/
23 
24 extern int proto_rrc;
25 
26 /*--- Included file: packet-rrc-exp.h ---*/
27 #line 1 "./asn1/rrc/packet-rrc-exp.h"
28 int dissect_rrc_InterRATHandoverInfo(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_);
29 int dissect_rrc_HandoverToUTRANCommand_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_);
30 int dissect_rrc_InterRATHandoverInfo_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_);
31 int dissect_rrc_MasterInformationBlock_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_);
32 int dissect_rrc_SysInfoType1_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_);
33 int dissect_rrc_SysInfoType2_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_);
34 int dissect_rrc_SysInfoType3_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_);
35 int dissect_rrc_SysInfoType4_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_);
36 int dissect_rrc_SysInfoType5_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_);
37 int dissect_rrc_SysInfoType6_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_);
38 int dissect_rrc_SysInfoType7_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_);
39 int dissect_rrc_SysInfoType11_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_);
40 int dissect_rrc_SysInfoType12_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_);
41 int dissect_rrc_SysInfoType13_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_);
42 int dissect_rrc_SysInfoType13_1_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_);
43 int dissect_rrc_SysInfoType13_2_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_);
44 int dissect_rrc_SysInfoType13_3_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_);
45 int dissect_rrc_SysInfoType13_4_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_);
46 int dissect_rrc_SysInfoType14_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_);
47 int dissect_rrc_SysInfoType15_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_);
48 int dissect_rrc_SysInfoType15_1_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_);
49 int dissect_rrc_SysInfoType15_2_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_);
50 int dissect_rrc_SysInfoType15_3_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_);
51 int dissect_rrc_SysInfoType15_4_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_);
52 int dissect_rrc_SysInfoType16_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_);
53 int dissect_rrc_SysInfoType17_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_);
54 int dissect_rrc_SysInfoType18_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_);
55 int dissect_rrc_SysInfoType19_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_);
56 int dissect_rrc_ToTargetRNC_Container_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_);
57 int dissect_rrc_TargetRNC_ToSourceRNC_Container_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_);
58 
59 /*--- End of included file: packet-rrc-exp.h ---*/
60 #line 18 "./asn1/rrc/packet-rrc-template.h"
61 
62 enum rrc_message_type {
63  RRC_MESSAGE_TYPE_INVALID = 0,
64  RRC_MESSAGE_TYPE_PCCH = 1,
65  RRC_MESSAGE_TYPE_UL_CCCH,
66  RRC_MESSAGE_TYPE_DL_CCCH,
67  RRC_MESSAGE_TYPE_UL_DCCH,
68  RRC_MESSAGE_TYPE_DL_DCCH,
69  RRC_MESSAGE_TYPE_BCCH_FACH
70 };
71 
72 enum nas_sys_info_gsm_map {
73  RRC_NAS_SYS_UNKNOWN = 0,
74  RRC_NAS_SYS_INFO_CS,
75  RRC_NAS_SYS_INFO_PS,
76  RRC_NAS_SYS_INFO_CN_COMMON
77 };
78 
79 enum rrc_ue_state {
80  RRC_UE_STATE_UNKNOWN = 0,
81  RRC_UE_STATE_CELL_DCH,
82  RRC_UE_STATE_CELL_FACH,
83  RRC_UE_STATE_CELL_PCH,
84  RRC_UE_STATE_URA_PCH
85 };
86 
87 #define MAX_RRC_FRAMES 64
88 typedef struct rrc_info
89 {
90  enum rrc_message_type msgtype[MAX_RRC_FRAMES];
91  guint16 hrnti[MAX_RRC_FRAMES];
92 } rrc_info;
93 
94 /*Struct for storing ciphering information*/
95 typedef struct rrc_ciphering_info
96 {
97  int seq_no[31][2]; /*Indicates for each Rbid when ciphering starts - Indexers are [BearerID][Direction]*/
98  GTree * /*guint32*/ start_cs; /*Start value for CS counter*/
99  GTree * /*guint32*/ start_ps; /*Start value for PS counter*/
100  guint32 conf_algo_indicator; /*Indicates which type of ciphering algorithm used*/
101  guint32 int_algo_indiccator; /*Indicates which type of integrity algorithm used*/
102  guint32 setup_frame[2]; /*Store which frame contained this information - Indexer is [Direction]*/
103  guint32 ps_conf_counters[31][2]; /*This should also be made for CS*/
104 
106 
107 extern GTree * hsdsch_muxed_flows;
108 extern GTree * rrc_ciph_info_tree;
109 extern wmem_tree_t* rrc_global_urnti_crnti_map;
110 
111 #endif /* PACKET_RRC_H */
Definition: wmem_tree-int.h:47
Definition: packet-rrc-template.h:52
Definition: packet_info.h:44
Definition: tvbuff-int.h:35
Definition: packet-rrc-template.h:45
Definition: asn1.h:63
Definition: proto.h:759