Wireshark  2.9.0-477-g68ec514b
The Wireshark network protocol analyzer
packet-e212.h
1 /* packet-e212.h
2  * E212 tables
3  * Copyright 2006, Anders Broman <anders.broman@ericsson.com>
4  *
5  * Wireshark - Network traffic analyzer
6  * By Gerald Combs <gerald@wireshark.org>
7  * Copyright 1998 Gerald Combs
8  *
9  * SPDX-License-Identifier: GPL-2.0-or-later
10  */
11 
12 #ifndef __PACKET_E212_H__
13 #define __PACKET_E212_H__
14 
15 #include <epan/value_string.h>
16 #include "ws_symbol_export.h"
17 
18 extern value_string_ext E212_codes_ext;
19 
20 extern value_string_ext mcc_mnc_2digits_codes_ext;
21 
22 extern value_string_ext mcc_mnc_3digits_codes_ext;
23 
24 typedef enum {
25  E212_NONE,
26  E212_LAI,
27  E212_RAI,
28  E212_SAI,
29  E212_CGI,
30  E212_ECGI,
31  E212_TAI
32 } e212_number_type_t;
33 
34 gchar* dissect_e212_mcc_mnc_wmem_packet_str(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, int offset, e212_number_type_t number_type, gboolean little_endian);
35 
36 WS_DLL_PUBLIC
37 int dissect_e212_mcc_mnc(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, int offset, e212_number_type_t number_type, gboolean little_endian);
38 
39 WS_DLL_PUBLIC
40 int dissect_e212_mcc_mnc_in_address(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, int offset);
41 
42 WS_DLL_PUBLIC
43 int dissect_e212_mcc_mnc_in_utf8_address(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree, int offset);
44 
57 WS_DLL_PUBLIC
58 const gchar * dissect_e212_imsi(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, int offset, int length, gboolean skip_first);
59 
68 WS_DLL_PUBLIC
69 const gchar * dissect_e212_utf8_imsi(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, int offset, int length);
70 
71 #endif /* __PACKET_E212_H__ */
72 
73 /*
74  * Editor modelines - http://www.wireshark.org/tools/modelines.html
75  *
76  * Local variables:
77  * c-basic-offset: 4
78  * tab-width: 8
79  * indent-tabs-mode: nil
80  * End:
81  *
82  * vi: set shiftwidth=4 tabstop=8 expandtab:
83  * :indentSize=4:tabSize=8:noTabs=true:
84  */
Definition: packet_info.h:44
Definition: tvbuff-int.h:35
Definition: value_string.h:164
Definition: proto.h:759