forked from osmocom/wireshark
1dff4e309d
Change-Id: I0e779b2ac2f608356649c5bbfca438141070dea4 Reviewed-on: https://code.wireshark.org/review/412 Reviewed-by: Bill Meier <wmeier@newsguy.com> Tested-by: Bill Meier <wmeier@newsguy.com>
65 lines
2.2 KiB
C
65 lines
2.2 KiB
C
/* packet-rrc-template.h
|
|
* Copyright 2009, Anders Broman <anders.broman@ericsson.com>
|
|
*
|
|
* Wireshark - Network traffic analyzer
|
|
* By Gerald Combs <gerald@wireshark.org>
|
|
* 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
|
|
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
|
*/
|
|
|
|
#ifndef PACKET_RRC_H
|
|
#define PACKET_RRC_H
|
|
|
|
#include <epan/asn1.h> /* Needed for non asn1 dissectors?*/
|
|
|
|
extern int proto_rrc;
|
|
#include "packet-rrc-exp.h"
|
|
|
|
enum rrc_message_type {
|
|
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
|
|
};
|
|
|
|
#define MAX_RRC_FRAMES 64
|
|
typedef struct rrc_info
|
|
{
|
|
enum rrc_message_type msgtype[MAX_RRC_FRAMES];
|
|
guint16 hrnti[MAX_RRC_FRAMES];
|
|
} rrc_info;
|
|
|
|
/*Struct for storing ciphering information*/
|
|
typedef struct rrc_ciph_info_
|
|
{
|
|
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*/
|
|
|
|
} rrc_ciphering_info;
|
|
|
|
extern GTree * hsdsch_muxed_flows;
|
|
extern GTree * rrc_ciph_inf;
|
|
|
|
#endif /* PACKET_RRC_H */
|