Wireshark 2.9.0-477-g68ec514b The Wireshark network protocol analyzer

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files

- File List
- File Members

packet-rrc-template.h
1 /* packet-rrc-template.h
2 * Copyright 2009, Anders Broman <anders.broman@ericsson.com>
3 *
4 * Wireshark - Network traffic analyzer
5 * By Gerald Combs <gerald@wireshark.org>
6 * Copyright 1998 Gerald Combs
7 *
8 * SPDX-License-Identifier: GPL-2.0-or-later
9 */
10
11 #ifndef PACKET_RRC_H
12 #define PACKET_RRC_H
13
14 #include <epan/asn1.h> /* Needed for non asn1 dissectors?*/
15
16 extern int proto_rrc;
17 #include "packet-rrc-exp.h"
18
19 enum rrc_message_type {
20 RRC_MESSAGE_TYPE_INVALID = 0,
21 RRC_MESSAGE_TYPE_PCCH = 1,
22 RRC_MESSAGE_TYPE_UL_CCCH,
23 RRC_MESSAGE_TYPE_DL_CCCH,
24 RRC_MESSAGE_TYPE_UL_DCCH,
25 RRC_MESSAGE_TYPE_DL_DCCH,
26 RRC_MESSAGE_TYPE_BCCH_FACH
27 };
28
29 enum nas_sys_info_gsm_map {
30 RRC_NAS_SYS_UNKNOWN = 0,
31 RRC_NAS_SYS_INFO_CS,
32 RRC_NAS_SYS_INFO_PS,
33 RRC_NAS_SYS_INFO_CN_COMMON
34 };
35
36 enum rrc_ue_state {
37 RRC_UE_STATE_UNKNOWN = 0,
38 RRC_UE_STATE_CELL_DCH,
39 RRC_UE_STATE_CELL_FACH,
40 RRC_UE_STATE_CELL_PCH,
41 RRC_UE_STATE_URA_PCH
42 };
43
44 #define MAX_RRC_FRAMES 64
45 typedef struct rrc_info
46 {
47 enum rrc_message_type msgtype[MAX_RRC_FRAMES];
48 guint16 hrnti[MAX_RRC_FRAMES];
49 } rrc_info;
50
51 /*Struct for storing ciphering information*/
52 typedef struct rrc_ciphering_info
53 {
54 int seq_no[31][2]; /*Indicates for each Rbid when ciphering starts - Indexers are [BearerID][Direction]*/
55 GTree * /*guint32*/ start_cs; /*Start value for CS counter*/
56 GTree * /*guint32*/ start_ps; /*Start value for PS counter*/
57 guint32 conf_algo_indicator; /*Indicates which type of ciphering algorithm used*/
58 guint32 int_algo_indiccator; /*Indicates which type of integrity algorithm used*/
59 guint32 setup_frame[2]; /*Store which frame contained this information - Indexer is [Direction]*/
60 guint32 ps_conf_counters[31][2]; /*This should also be made for CS*/
61
62 } rrc_ciphering_info;
63
64 extern GTree * hsdsch_muxed_flows;
65 extern GTree * rrc_ciph_info_tree;
66 extern wmem_tree_t* rrc_global_urnti_crnti_map;
67
68 #endif /* PACKET_RRC_H */
_wmem_tree_t
Definition: wmem_tree-int.h:47
rrc_ciphering_info
Definition: packet-rrc-template.h:52
rrc_info
Definition: packet-rrc-template.h:45