Revert "TODO epan/dissectors/asn1/kerberos/packet-kerberos-template.c new GSS flags"
[wireshark-sm.git] / epan / dissectors / packet-ansi_a.h
blob7ee77226e7f2b7cdf78ab29d5b3a1936b3b2d1f4
1 /* packet-ansi_a.h
3 * Copyright 2003, Michael Lum <mlum [AT] telostech.com>,
4 * In association with Telos Technology Inc.
6 * Wireshark - Network traffic analyzer
7 * By Gerald Combs <gerald@wireshark.org>
8 * Copyright 1998 Gerald Combs
10 * SPDX-License-Identifier: GPL-2.0-or-later
13 #include <epan/proto.h>
15 typedef struct _ansi_a_tap_rec_t {
17 * value from packet-bssap.h
19 uint8_t pdu_type;
20 uint8_t message_type;
21 } ansi_a_tap_rec_t;
23 typedef struct ext_value_string_t
25 uint32_t value;
26 const char *strptr;
27 int dec_index;
29 ext_value_string_t;
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.
37 WS_DLL_PUBLIC const ext_value_string_t *ansi_a_bsmap_strings;
38 WS_DLL_PUBLIC const ext_value_string_t *ansi_a_dtap_strings;
39 WS_DLL_PUBLIC const ext_value_string_t ansi_a_ios501_bsmap_strings[];
40 WS_DLL_PUBLIC const ext_value_string_t ansi_a_ios501_dtap_strings[];
41 WS_DLL_PUBLIC const ext_value_string_t ansi_a_ios401_bsmap_strings[];
42 WS_DLL_PUBLIC const ext_value_string_t ansi_a_ios401_dtap_strings[];
45 * Not strictly A-interface info, but put here to avoid file pollution
47 * Title 3GPP2 Other
49 * Administration of Parameter Value Assignments for
50 * cdma2000 Spread Spectrum Standards
51 * 3GPP2 C.R1001-H v1.0 TSB-58-I (or J?)
53 WS_DLL_PUBLIC const value_string ansi_tsb58_encoding_vals[];
54 WS_DLL_PUBLIC const value_string ansi_tsb58_srvc_cat_vals[];
55 WS_DLL_PUBLIC value_string_ext ansi_tsb58_srvc_cat_vals_ext;
56 WS_DLL_PUBLIC const value_string ansi_tsb58_language_ind_vals[];
57 WS_DLL_PUBLIC value_string_ext ansi_tsb58_language_ind_vals_ext;
59 #define ANSI_TSB58_SRVC_CAT_CMAS_MIN 0x1000
60 #define ANSI_TSB58_SRVC_CAT_CMAS_MAX 0x1004
63 * Title 3GPP2 Other
65 * 3GPP2 C.S0005
67 WS_DLL_PUBLIC const value_string ansi_a_ms_info_rec_num_type_vals[];
68 WS_DLL_PUBLIC const value_string ansi_a_ms_info_rec_num_plan_vals[];
70 * END Not strictly A-interface info
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
81 WS_DLL_PUBLIC int a_global_variant;
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'
87 WS_DLL_PUBLIC const ext_value_string_t *ansi_a_elem_1_strings;
90 * maximum number of strings that are allowed
91 * 255 because IEI are 1 octet in length
93 * this define is required by dissectors that need to
94 * size based on the 'ansi_a_elem_1_strings'
95 * array
97 #define ANSI_A_MAX_NUM_IOS_ELEM_1_STRINGS 255
99 void dissect_cdma2000_a1_elements(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, uint32_t offset, unsigned len);
102 * Editor modelines - https://www.wireshark.org/tools/modelines.html
104 * Local variables:
105 * c-basic-offset: 4
106 * tab-width: 8
107 * indent-tabs-mode: nil
108 * End:
110 * vi: set shiftwidth=4 tabstop=8 expandtab:
111 * :indentSize=4:tabSize=8:noTabs=true: