Wireshark 4.5.0
The Wireshark network protocol analyzer
Loading...
Searching...
No Matches
packet-ansi_a.h
1/* packet-ansi_a.h
2 *
3 * Copyright 2003, Michael Lum <mlum [AT] telostech.com>,
4 * In association with Telos Technology Inc.
5 *
6 * Wireshark - Network traffic analyzer
7 * By Gerald Combs <[email protected]>
8 * Copyright 1998 Gerald Combs
9 *
10 * SPDX-License-Identifier: GPL-2.0-or-later
11 */
12
13#include <epan/proto.h>
14
15typedef struct _ansi_a_tap_rec_t {
16 /*
17 * value from packet-bssap.h
18 */
19 uint8_t pdu_type;
20 uint8_t message_type;
22
23typedef struct ext_value_string_t
24{
25 uint32_t value;
26 const char *strptr;
27 int dec_index;
28}
30
31
32/*
33 * the following allows TAP code access to the messages
34 * without having to duplicate it. With MSVC and a
35 * libwireshark.dll, we need a special declaration.
36 */
37WS_DLL_PUBLIC const ext_value_string_t *ansi_a_bsmap_strings;
38WS_DLL_PUBLIC const ext_value_string_t *ansi_a_dtap_strings;
39WS_DLL_PUBLIC const ext_value_string_t ansi_a_ios501_bsmap_strings[];
40WS_DLL_PUBLIC const ext_value_string_t ansi_a_ios501_dtap_strings[];
41WS_DLL_PUBLIC const ext_value_string_t ansi_a_ios401_bsmap_strings[];
42WS_DLL_PUBLIC const ext_value_string_t ansi_a_ios401_dtap_strings[];
43
44/*
45 * Not strictly A-interface info, but put here to avoid file pollution
46 *
47 * Title 3GPP2 Other
48 *
49 * Administration of Parameter Value Assignments for
50 * cdma2000 Spread Spectrum Standards
51 * 3GPP2 C.R1001-H v1.0 TSB-58-I (or J?)
52 */
53WS_DLL_PUBLIC const value_string ansi_tsb58_encoding_vals[];
54WS_DLL_PUBLIC const value_string ansi_tsb58_srvc_cat_vals[];
55WS_DLL_PUBLIC value_string_ext ansi_tsb58_srvc_cat_vals_ext;
56WS_DLL_PUBLIC const value_string ansi_tsb58_language_ind_vals[];
57WS_DLL_PUBLIC value_string_ext ansi_tsb58_language_ind_vals_ext;
58
59#define ANSI_TSB58_SRVC_CAT_CMAS_MIN 0x1000
60#define ANSI_TSB58_SRVC_CAT_CMAS_MAX 0x1004
61
62/*
63 * Title 3GPP2 Other
64 *
65 * 3GPP2 C.S0005
66 */
67WS_DLL_PUBLIC const value_string ansi_a_ms_info_rec_num_type_vals[];
68WS_DLL_PUBLIC const value_string ansi_a_ms_info_rec_num_plan_vals[];
69/*
70 * END Not strictly A-interface info
71 */
72
73#define A_VARIANT_IS634 4
74#define A_VARIANT_TSB80 5
75#define A_VARIANT_IS634A 6
76#define A_VARIANT_IOS2 7
77#define A_VARIANT_IOS3 8
78#define A_VARIANT_IOS401 9
79#define A_VARIANT_IOS501 10
80
81WS_DLL_PUBLIC int a_global_variant;
82
83/*
84 * allows ANSI MAP to use this for IS-880 enhancements
85 * based on the 'ansi_a_ios401_elem_1_strings/ansi_a_ios501_elem_1_strings'
86 */
87WS_DLL_PUBLIC const ext_value_string_t *ansi_a_elem_1_strings;
88
89/*
90 * maximum number of strings that are allowed
91 * 255 because IEI are 1 octet in length
92 *
93 * this define is required by dissectors that need to
94 * size based on the 'ansi_a_elem_1_strings'
95 * array
96 */
97#define ANSI_A_MAX_NUM_IOS_ELEM_1_STRINGS 255
98
99void dissect_cdma2000_a1_elements(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, uint32_t offset, unsigned len);
100
101/*
102 * Editor modelines - https://www.wireshark.org/tools/modelines.html
103 *
104 * Local variables:
105 * c-basic-offset: 4
106 * tab-width: 8
107 * indent-tabs-mode: nil
108 * End:
109 *
110 * vi: set shiftwidth=4 tabstop=8 expandtab:
111 * :indentSize=4:tabSize=8:noTabs=true:
112 */
Definition packet-ansi_a.h:15
Definition packet_info.h:43
Definition proto.h:903
Definition value_string.h:169
Definition value_string.h:25
Definition packet-ansi_a.h:24
Definition tvbuff-int.h:35