1 /* Do not modify this file. Changes will be overwritten. */
2 /* Generated automatically by the ASN.1 to Wireshark dissector compiler */
4 /* ../../tools/asn2wrs.py -p rrc -c ./rrc.cnf -s ./packet-rrc-template -D . -O ../../epan/dissectors Class-definitions.asn PDU-definitions.asn InformationElements.asn Constant-definitions.asn Internode-definitions.asn */
6 /* Input file: packet-rrc-template.h */
8 #line 1 "../../asn1/rrc/packet-rrc-template.h"
9 /* packet-rrc-template.h
10 * Copyright 2009, Anders Broman <anders.broman@ericsson.com>
14 * Wireshark - Network traffic analyzer
15 * By Gerald Combs <gerald@wireshark.org>
16 * Copyright 1998 Gerald Combs
18 * This program is free software; you can redistribute it and/or
19 * modify it under the terms of the GNU General Public License
20 * as published by the Free Software Foundation; either version 2
21 * of the License, or (at your option) any later version.
23 * This program is distributed in the hope that it will be useful,
24 * but WITHOUT ANY WARRANTY; without even the implied warranty of
25 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
26 * GNU General Public License for more details.
28 * You should have received a copy of the GNU General Public License
29 * along with this program; if not, write to the Free Software
30 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
36 #include <epan/asn1.h> /* Needed for non asn1 dissectors?*/
40 /*--- Included file: packet-rrc-exp.h ---*/
41 #line 1 "../../asn1/rrc/packet-rrc-exp.h"
42 int dissect_rrc_InterRATHandoverInfo(tvbuff_t
*tvb _U_
, int offset _U_
, asn1_ctx_t
*actx _U_
, proto_tree
*tree _U_
, int hf_index _U_
);
43 int dissect_rrc_HandoverToUTRANCommand_PDU(tvbuff_t
*tvb _U_
, packet_info
*pinfo _U_
, proto_tree
*tree _U_
, void *data _U_
);
44 int dissect_rrc_InterRATHandoverInfo_PDU(tvbuff_t
*tvb _U_
, packet_info
*pinfo _U_
, proto_tree
*tree _U_
, void *data _U_
);
45 int dissect_rrc_MasterInformationBlock_PDU(tvbuff_t
*tvb _U_
, packet_info
*pinfo _U_
, proto_tree
*tree _U_
, void *data _U_
);
46 int dissect_rrc_SysInfoType1_PDU(tvbuff_t
*tvb _U_
, packet_info
*pinfo _U_
, proto_tree
*tree _U_
, void *data _U_
);
47 int dissect_rrc_SysInfoType2_PDU(tvbuff_t
*tvb _U_
, packet_info
*pinfo _U_
, proto_tree
*tree _U_
, void *data _U_
);
48 int dissect_rrc_SysInfoType3_PDU(tvbuff_t
*tvb _U_
, packet_info
*pinfo _U_
, proto_tree
*tree _U_
, void *data _U_
);
49 int dissect_rrc_SysInfoType7_PDU(tvbuff_t
*tvb _U_
, packet_info
*pinfo _U_
, proto_tree
*tree _U_
, void *data _U_
);
50 int dissect_rrc_SysInfoType12_PDU(tvbuff_t
*tvb _U_
, packet_info
*pinfo _U_
, proto_tree
*tree _U_
, void *data _U_
);
51 int dissect_rrc_ToTargetRNC_Container_PDU(tvbuff_t
*tvb _U_
, packet_info
*pinfo _U_
, proto_tree
*tree _U_
, void *data _U_
);
52 int dissect_rrc_TargetRNC_ToSourceRNC_Container_PDU(tvbuff_t
*tvb _U_
, packet_info
*pinfo _U_
, proto_tree
*tree _U_
, void *data _U_
);
54 /*--- End of included file: packet-rrc-exp.h ---*/
55 #line 32 "../../asn1/rrc/packet-rrc-template.h"
57 enum rrc_message_type
{
58 RRC_MESSAGE_TYPE_INVALID
= 0,
59 RRC_MESSAGE_TYPE_PCCH
= 1,
60 RRC_MESSAGE_TYPE_UL_CCCH
,
61 RRC_MESSAGE_TYPE_DL_CCCH
,
62 RRC_MESSAGE_TYPE_UL_DCCH
,
63 RRC_MESSAGE_TYPE_DL_DCCH
,
64 RRC_MESSAGE_TYPE_BCCH_FACH
67 #define MAX_RRC_FRAMES 64
68 typedef struct rrc_info
70 enum rrc_message_type msgtype
[MAX_RRC_FRAMES
];
71 guint16 hrnti
[MAX_RRC_FRAMES
];
74 /*Struct for storing ciphering information*/
75 typedef struct rrc_ciph_info_
77 int seq_no
[31][2]; /*Indicates for each Rbid when ciphering starts*/
78 GTree
* /*guint32*/ start_cs
; /*Start value for CS counter*/
79 GTree
* /*guint32*/ start_ps
; /*Start value for PS counter*/
80 guint32 conf_algo_indicator
; /*Indicates which type of ciphering algorithm used*/
81 guint32 int_algo_indiccator
; /*Indicates which type of integrity algorithm used*/
82 unsigned int setup_frame
; /*Store which frame contained this information*/
83 guint32 ps_conf_counters
[31][2]; /*This should also be made for CS*/
87 extern GTree
* hsdsch_muxed_flows
;
88 extern GTree
* rrc_ciph_inf
;
90 #endif /* PACKET_RRC_H */