1 /* packet-rrc-template.h
2 * Copyright 2009, Anders Broman <anders.broman@ericsson.com>
6 * Wireshark - Network traffic analyzer
7 * By Gerald Combs <gerald@wireshark.org>
8 * Copyright 1998 Gerald Combs
10 * This program is free software; you can redistribute it and/or
11 * modify it under the terms of the GNU General Public License
12 * as published by the Free Software Foundation; either version 2
13 * of the License, or (at your option) any later version.
15 * This program is distributed in the hope that it will be useful,
16 * but WITHOUT ANY WARRANTY; without even the implied warranty of
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 * GNU General Public License for more details.
20 * You should have received a copy of the GNU General Public License
21 * along with this program; if not, write to the Free Software
22 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
28 #include <epan/asn1.h> /* Needed for non asn1 dissectors?*/
31 #include "packet-rrc-exp.h"
33 enum rrc_message_type
{
34 RRC_MESSAGE_TYPE_INVALID
= 0,
35 RRC_MESSAGE_TYPE_PCCH
= 1,
36 RRC_MESSAGE_TYPE_UL_CCCH
,
37 RRC_MESSAGE_TYPE_DL_CCCH
,
38 RRC_MESSAGE_TYPE_UL_DCCH
,
39 RRC_MESSAGE_TYPE_DL_DCCH
,
40 RRC_MESSAGE_TYPE_BCCH_FACH
43 #define MAX_RRC_FRAMES 64
44 typedef struct rrc_info
46 enum rrc_message_type msgtype
[MAX_RRC_FRAMES
];
47 guint16 hrnti
[MAX_RRC_FRAMES
];
50 /*Struct for storing ciphering information*/
51 typedef struct rrc_ciph_info_
53 int seq_no
[31][2]; /*Indicates for each Rbid when ciphering starts*/
54 GTree
* /*guint32*/ start_cs
; /*Start value for CS counter*/
55 GTree
* /*guint32*/ start_ps
; /*Start value for PS counter*/
56 guint32 conf_algo_indicator
; /*Indicates which type of ciphering algorithm used*/
57 guint32 int_algo_indiccator
; /*Indicates which type of integrity algorithm used*/
58 unsigned int setup_frame
; /*Store which frame contained this information*/
59 guint32 ps_conf_counters
[31][2]; /*This should also be made for CS*/
63 extern GTree
* hsdsch_muxed_flows
;
64 extern GTree
* rrc_ciph_inf
;
66 #endif /* PACKET_RRC_H */