Wireshark  4.3.0
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_NRCGI,
33  E212_5GSTAI,
34  E212_GUMMEI,
35  E212_GUAMI,
36 } e212_number_type_t;
37 
38 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);
39 
40 WS_DLL_PUBLIC
41 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);
42 
43 WS_DLL_PUBLIC
44 int dissect_e212_mcc_mnc_in_address(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, int offset);
45 
46 WS_DLL_PUBLIC
47 int dissect_e212_mcc_mnc_in_utf8_address(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree, int offset);
48 
61 WS_DLL_PUBLIC
62 const gchar * dissect_e212_imsi(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, int offset, int length, gboolean skip_first);
63 
72 WS_DLL_PUBLIC
73 const gchar * dissect_e212_utf8_imsi(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, int offset, int length);
74 
75 #endif /* __PACKET_E212_H__ */
76 
77 /*
78  * Editor modelines - https://www.wireshark.org/tools/modelines.html
79  *
80  * Local variables:
81  * c-basic-offset: 4
82  * tab-width: 8
83  * indent-tabs-mode: nil
84  * End:
85  *
86  * vi: set shiftwidth=4 tabstop=8 expandtab:
87  * :indentSize=4:tabSize=8:noTabs=true:
88  */
Definition: packet_info.h:44
Definition: proto.h:904
Definition: value_string.h:170
Definition: tvbuff-int.h:35