Wireshark  2.9.0-477-g68ec514b
The Wireshark network protocol analyzer
packet-nbap-template.h
1 /* packet-nbap-template.h
2  *
3  * Wireshark - Network traffic analyzer
4  * By Gerald Combs <gerald@wireshark.org>
5  * Copyright 1998 Gerald Combs
6  *
7  * SPDX-License-Identifier: GPL-2.0-or-later
8  */
9 
10 #ifndef PACKET_NBAP_H
11 #define PACKET_NBAP_H
12 
13 #include "packet-umts_rlc.h"
14 #include "packet-umts_mac.h"
15 
16 /*
17  * Ericsson specific mapping for various dissector settings.
18  * Must be altered for other equipment.
19  */
20 
21 /*Array are indexed on logical channel id, meaning they need to be defined for 1-15*/
22 /* Mapping from logical channel id to MAC content type ie. DCCH or DTCH*/
23 extern guint8 lchId_type_table[];
24 
25 /* Mapping logicalchannel id to RLC_MODE */
26 extern guint8 lchId_rlc_map[];
27 
28 /* Mapping Scrambling Codes to C-RNC Contexts */
29 extern wmem_tree_t *nbap_scrambling_code_crncc_map;
30 /* Mapping C-RNC Contexts to U-RNTIs */
31 extern wmem_tree_t *nbap_crncc_urnti_map;
32 
33 #if 0
34 static const value_string lchid_name_resolve[] = {
35  {1,"DCCH"}, /* 1 to 4 SRB => DCCH*/
36  {2,"DCCH"},
37  {3,"DCCH"},
38  {4,"DCCH"},
39  {8,"DCCH"}, /* 8 SRB => DCCH*/
40  {9,"DTCH"}, /*9 maps to DTCH*/
41  {10,"UNKNOWN"}, /*10 Conv CS unknown*/
42  {11,"DTCH"}, /*11 Interactive PS => DTCH*/
43  {12,"DTCH"}, /*12 13 Streaming PS => DTCH*/
44  {13,"DTCH"},
45  {14,"DTCH"}, /*14 Interatictive PS => DTCH*/
46  {15,"MAC_CONTENT_UNKNOWN"},
47  {0, NULL} /* This is CCCH? */
48 };
49 #endif
50 #endif
Definition: wmem_tree-int.h:47
Definition: value_string.h:24