2009-03-03 18:24:10 +00:00
|
|
|
/* Do not modify this file. */
|
|
|
|
/* It is created automatically by the ASN.1 to Wireshark dissector compiler */
|
|
|
|
/* packet-rrc.h */
|
2011-10-15 19:27:27 +00:00
|
|
|
/* ../../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 */
|
2009-03-03 18:24:10 +00:00
|
|
|
|
|
|
|
/* Input file: packet-rrc-template.h */
|
|
|
|
|
2011-05-13 08:12:27 +00:00
|
|
|
#line 1 "../../asn1/rrc/packet-rrc-template.h"
|
2009-03-03 18:24:10 +00:00
|
|
|
/* packet-rrc-template.h
|
|
|
|
* Copyright 2009, Anders Broman <anders.broman@ericsson.com>
|
|
|
|
*
|
|
|
|
* $Id$
|
|
|
|
*
|
2009-04-08 13:28:23 +00:00
|
|
|
* Wireshark - Network traffic analyzer
|
|
|
|
* By Gerald Combs <gerald@wireshark.org>
|
2009-03-03 18:24:10 +00:00
|
|
|
* Copyright 1998 Gerald Combs
|
|
|
|
*
|
|
|
|
* This program is free software; you can redistribute it and/or
|
|
|
|
* modify it under the terms of the GNU General Public License
|
|
|
|
* as published by the Free Software Foundation; either version 2
|
|
|
|
* of the License, or (at your option) any later version.
|
|
|
|
*
|
|
|
|
* This program is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
* GNU General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU General Public License
|
|
|
|
* along with this program; if not, write to the Free Software
|
2012-06-28 22:56:06 +00:00
|
|
|
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
2009-03-03 18:24:10 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef PACKET_RRC_H
|
|
|
|
#define PACKET_RRC_H
|
|
|
|
|
2012-08-08 20:43:48 +00:00
|
|
|
#include <epan/asn1.h> /* Needed for non asn1 dissectors?*/
|
2012-07-26 08:15:20 +00:00
|
|
|
|
2009-11-05 21:54:06 +00:00
|
|
|
extern int proto_rrc;
|
2009-03-03 18:24:10 +00:00
|
|
|
|
|
|
|
/*--- Included file: packet-rrc-exp.h ---*/
|
2011-05-13 08:12:27 +00:00
|
|
|
#line 1 "../../asn1/rrc/packet-rrc-exp.h"
|
2009-03-03 18:24:10 +00:00
|
|
|
int dissect_rrc_InterRATHandoverInfo(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_);
|
2012-09-10 21:42:36 +00:00
|
|
|
int dissect_rrc_HandoverToUTRANCommand_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_);
|
|
|
|
int dissect_rrc_InterRATHandoverInfo_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_);
|
|
|
|
int dissect_rrc_MasterInformationBlock_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_);
|
|
|
|
int dissect_rrc_SysInfoType1_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_);
|
|
|
|
int dissect_rrc_SysInfoType2_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_);
|
|
|
|
int dissect_rrc_SysInfoType3_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_);
|
|
|
|
int dissect_rrc_SysInfoType7_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_);
|
|
|
|
int dissect_rrc_SysInfoType12_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_);
|
|
|
|
int dissect_rrc_ToTargetRNC_Container_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_);
|
|
|
|
int dissect_rrc_TargetRNC_ToSourceRNC_Container_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_);
|
2009-03-03 18:24:10 +00:00
|
|
|
|
|
|
|
/*--- End of included file: packet-rrc-exp.h ---*/
|
2012-07-26 08:15:20 +00:00
|
|
|
#line 32 "../../asn1/rrc/packet-rrc-template.h"
|
2009-11-05 21:54:06 +00:00
|
|
|
|
|
|
|
enum rrc_message_type {
|
2012-08-08 20:43:48 +00:00
|
|
|
RRC_MESSAGE_TYPE_INVALID = 0,
|
|
|
|
RRC_MESSAGE_TYPE_PCCH = 1,
|
|
|
|
RRC_MESSAGE_TYPE_UL_CCCH,
|
|
|
|
RRC_MESSAGE_TYPE_DL_CCCH,
|
|
|
|
RRC_MESSAGE_TYPE_UL_DCCH,
|
|
|
|
RRC_MESSAGE_TYPE_DL_DCCH,
|
|
|
|
RRC_MESSAGE_TYPE_BCCH_FACH
|
2009-11-05 21:54:06 +00:00
|
|
|
};
|
|
|
|
|
2012-08-08 20:43:48 +00:00
|
|
|
#define MAX_RRC_FRAMES 64
|
2009-11-05 21:54:06 +00:00
|
|
|
typedef struct rrc_info
|
|
|
|
{
|
2012-08-08 20:43:48 +00:00
|
|
|
enum rrc_message_type msgtype[MAX_RRC_FRAMES];
|
2009-11-05 21:54:06 +00:00
|
|
|
} rrc_info;
|
2012-07-26 09:42:07 +00:00
|
|
|
|
2012-08-08 17:24:14 +00:00
|
|
|
/*Struct for storing ciphering information*/
|
|
|
|
typedef struct rrc_ciph_info_
|
|
|
|
{
|
2012-08-08 20:43:48 +00:00
|
|
|
int seq_no[31][2]; /*Indicates for each Rbid when ciphering starts*/
|
|
|
|
GTree * /*guint32*/ start_cs; /*Start value for CS counter*/
|
|
|
|
GTree * /*guint32*/ start_ps; /*Start value for PS counter*/
|
|
|
|
guint32 conf_algo_indicator; /*Indicates which type of ciphering algorithm used*/
|
|
|
|
guint32 int_algo_indiccator; /*Indicates which type of integrity algorithm used*/
|
|
|
|
unsigned int setup_frame; /*Store which frame contained this information*/
|
|
|
|
guint32 ps_conf_counters[31][2]; /*This should also be made for CS*/
|
|
|
|
|
2012-08-08 17:24:14 +00:00
|
|
|
} rrc_ciphering_info;
|
2009-03-03 18:24:10 +00:00
|
|
|
|
2012-07-26 12:47:48 +00:00
|
|
|
extern GTree * hsdsch_muxed_flows;
|
2012-08-08 17:24:14 +00:00
|
|
|
extern GTree * rrc_ciph_inf;
|
|
|
|
|
2009-03-03 22:33:14 +00:00
|
|
|
#endif /* PACKET_RRC_H */
|